diff options
author | Bert <ber.t@gmx.com> | 2011-02-03 10:54:31 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-02-03 10:54:31 +0100 |
commit | e8cf8da2089a40fb255b8d62fe86279c1219ff60 (patch) | |
tree | b875c487c984ccf4daa0653cef7cdfcb89473583 | |
parent | 8f4af658ae484c3090dbd5b5b9b498943b3eb959 (diff) |
Fixed die/warn in util.c
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,7 +46,7 @@ void warn(const char* fmt, ...) { va_start(args, fmt); fprintf(stderr, "sxiv: warning: "); - fprintf(stderr, fmt, args); + vfprintf(stderr, fmt, args); fprintf(stderr, "\n"); va_end(args); } @@ -59,7 +59,7 @@ void die(const char* fmt, ...) { va_start(args, fmt); fprintf(stderr, "sxiv: error: "); - fprintf(stderr, fmt, args); + vfprintf(stderr, fmt, args); fprintf(stderr, "\n"); va_end(args); |