summaryrefslogtreecommitdiff
path: root/tools/gfx.c
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-06-24 19:32:35 -0400
committeryenatch <yenatch@gmail.com>2017-06-24 19:32:35 -0400
commit1f8bc7772bf94fdcfa0b92d5f797e234dd53d475 (patch)
treeec37f806bb8517180321466ba7aefbdd6f3e355b /tools/gfx.c
parent60f6430d05cb858df709f6bd87ef02526bb12077 (diff)
Fix insecure fprintf
Diffstat (limited to 'tools/gfx.c')
-rw-r--r--tools/gfx.c4
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 {