diff options
author | yenatch <yenatch@gmail.com> | 2017-06-24 19:32:35 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2017-06-24 19:32:35 -0400 |
commit | 1f8bc7772bf94fdcfa0b92d5f797e234dd53d475 (patch) | |
tree | ec37f806bb8517180321466ba7aefbdd6f3e355b /tools/gfx.c | |
parent | 60f6430d05cb858df709f6bd87ef02526bb12077 (diff) |
Fix insecure fprintf
Diffstat (limited to 'tools/gfx.c')
-rw-r--r-- | tools/gfx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gfx.c b/tools/gfx.c index 0e6864e91..207dcb6c2 100644 --- a/tools/gfx.c +++ b/tools/gfx.c @@ -12,8 +12,8 @@ static void usage(void) { } static void error(char *message) { - fprintf(stderr, message); - fprintf(stderr, "\n"); + fputs(message, stderr); + fputs("\n", stderr); } struct Options { |