diff options
Diffstat (limited to 'demos/tunala/tunala.c')
-rw-r--r-- | demos/tunala/tunala.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/demos/tunala/tunala.c b/demos/tunala/tunala.c index 75d312ec92..9c3ff5978b 100644 --- a/demos/tunala/tunala.c +++ b/demos/tunala/tunala.c @@ -186,14 +186,13 @@ static int usage(const char *errstr, int isunknownarg) static int err_str0(const char *str0) { - fprintf(stderr, str0); - fprintf(stderr, "\n"); + fprintf(stderr, "%s\n", str0); return 1; } -static int err_str1(const char *str0, const char *str1) +static int err_str1(const char *fmt, const char *str1) { - fprintf(stderr, str0, str1); + fprintf(stderr, fmt, str1); fprintf(stderr, "\n"); return 1; } |