summaryrefslogtreecommitdiffstats
path: root/Modules/main.c
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2009-07-17 08:09:04 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2009-07-17 08:09:04 (GMT)
commit0b5b8af435a6953413690432b41910ce68656eed (patch)
treeb6e1d84c627722f0191562bc7d9ccc022278f21b /Modules/main.c
parent6d787361770b5918074fac21d49c4a75222039f3 (diff)
downloadcpython-0b5b8af435a6953413690432b41910ce68656eed.zip
cpython-0b5b8af435a6953413690432b41910ce68656eed.tar.gz
cpython-0b5b8af435a6953413690432b41910ce68656eed.tar.bz2
Fix GCC warning about fprintf used without a string literal and
without format arguments.
Diffstat (limited to 'Modules/main.c')
-rw-r--r--Modules/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/main.c b/Modules/main.c
index d6df92f..014ea5f 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -112,9 +112,9 @@ usage(int exitcode, char* program)
if (exitcode)
fprintf(f, "Try `python -h' for more information.\n");
else {
- fprintf(f, usage_1);
- fprintf(f, usage_2);
- fprintf(f, usage_3);
+ fputs(usage_1, f);
+ fputs(usage_2, f);
+ fputs(usage_3, f);
fprintf(f, usage_4, DELIM);
fprintf(f, usage_5, DELIM, PYTHONHOMEHELP);
}