Fix GCC warning about fprintf used without a string literal and

without format arguments.
This commit is contained in:
Alexandre Vassalotti 2009-07-17 08:09:04 +00:00
parent 6d78736177
commit 0b5b8af435
1 changed files with 3 additions and 3 deletions

View File

@ -112,9 +112,9 @@ usage(int exitcode, char* program)
if (exitcode) if (exitcode)
fprintf(f, "Try `python -h' for more information.\n"); fprintf(f, "Try `python -h' for more information.\n");
else { else {
fprintf(f, usage_1); fputs(usage_1, f);
fprintf(f, usage_2); fputs(usage_2, f);
fprintf(f, usage_3); fputs(usage_3, f);
fprintf(f, usage_4, DELIM); fprintf(f, usage_4, DELIM);
fprintf(f, usage_5, DELIM, PYTHONHOMEHELP); fprintf(f, usage_5, DELIM, PYTHONHOMEHELP);
} }