diff options
author | Chris Want <cwant@ualberta.ca> | 2009-06-09 22:08:45 +0400 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2009-06-09 22:08:45 +0400 |
commit | 8704629945c015ec0c34298c406402373c01efa4 (patch) | |
tree | 2c25ec77d52472a909f3d488173fb101105e6611 /source/creator/creator.c | |
parent | 19c9708a1611415327fc5c76fcbcc5671c041a21 (diff) |
Use fputs instead of fprintf in mem_error_cb(). This silences the
gcc warning "format not a string literal and no format arguments".
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r-- | source/creator/creator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index f8bf7288143..5a90a1e5b9f 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -887,7 +887,7 @@ static void error_cb(char *err) static void mem_error_cb(char *errorStr) { - fprintf(stderr, errorStr); + fputs(errorStr, stderr); fflush(stderr); } |