diff options
author | Ulf Möller <ulf@openssl.org> | 2001-02-06 02:57:35 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2001-02-06 02:57:35 +0000 |
commit | 4327aae816f6c147782b5a011c7f899558629c27 (patch) | |
tree | d71b0c4927df33dcfe16d40ff525b853a7833498 /demos/tunala/tunala.c | |
parent | 741a9690df52b947861deeafec87ab86074c0929 (diff) | |
download | openssl-4327aae816f6c147782b5a011c7f899558629c27.tar.gz |
format strings
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; } |