summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {