diff options
author | Lloyd Hilaiel <lloyd@hilaiel.com> | 2009-09-12 09:22:13 -0600 |
---|---|---|
committer | Lloyd Hilaiel <lloyd@hilaiel.com> | 2009-09-12 09:22:13 -0600 |
commit | a248f5abd0749e53e45a8a8f92003cd17f1c6732 (patch) | |
tree | 982e0c27d497c690173eb9cbde1b5801693830dc /reformatter/json_reformat.c | |
parent | 3d77db19acfe6060749c01098e7faa62ccb8b64f (diff) | |
download | yajl-a248f5abd0749e53e45a8a8f92003cd17f1c6732.tar.gz |
always use a format string with fprintf, silence compiler warnings. shhh.1.0.6
Diffstat (limited to 'reformatter/json_reformat.c')
-rw-r--r-- | reformatter/json_reformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reformatter/json_reformat.c b/reformatter/json_reformat.c index 01fa375..cfe043d 100644 --- a/reformatter/json_reformat.c +++ b/reformatter/json_reformat.c @@ -195,7 +195,7 @@ main(int argc, char ** argv) stat != yajl_status_insufficient_data) { unsigned char * str = yajl_get_error(hand, 1, fileData, rd); - fprintf(stderr, (const char *) str); + fprintf(stderr, "%s", (const char *) str); yajl_free_error(hand, str); retval = 1; break; |