diff options
author | Zihua Wu <qqbbnease1004@126.com> | 2022-11-17 16:31:57 +0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2022-11-17 10:25:29 -0800 |
commit | 3a4aa109b4932d13c1a620575510c41eae6cb048 (patch) | |
tree | 6ddee890e7ffe45a123befaa61b242f4f4da538b /mesonbuild/templates | |
parent | 134e299eda28690c7f6b24fe80763103226b7c75 (diff) | |
download | meson-3a4aa109b4932d13c1a620575510c41eae6cb048.zip meson-3a4aa109b4932d13c1a620575510c41eae6cb048.tar.gz meson-3a4aa109b4932d13c1a620575510c41eae6cb048.tar.bz2 |
Fix a typo in the CUDA template
The original version will output something like `xtakes no arguments`, and the modified version will correctly output `x takes no arguments`.
Diffstat (limited to 'mesonbuild/templates')
-rw-r--r-- | mesonbuild/templates/cudatemplates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/templates/cudatemplates.py b/mesonbuild/templates/cudatemplates.py index 919db21..bbb1a3e 100644 --- a/mesonbuild/templates/cudatemplates.py +++ b/mesonbuild/templates/cudatemplates.py @@ -21,7 +21,7 @@ hello_cuda_template = '''#include <iostream> int main(int argc, char **argv) {{ if(argc != 1) {{ - std::cout << argv[0] << "takes no arguments.\\n"; + std::cout << argv[0] << " takes no arguments.\\n"; return 1; }} std::cout << "This is project " << PROJECT_NAME << ".\\n"; |