From 1f8bc7772bf94fdcfa0b92d5f797e234dd53d475 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sat, 24 Jun 2017 19:32:35 -0400 Subject: [PATCH] Fix insecure fprintf --- tools/gfx.c | 4 ++-- 1 file 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 {