From: Martin Mares Date: Tue, 24 Jul 2012 08:52:45 +0000 (+0200) Subject: Bug fixes X-Git-Tag: v1.0~37 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=376459c76608124c1bdf1a871244ef3248c3dda7;p=xsv.git Bug fixes --- diff --git a/Makefile b/Makefile index f5fcd54..3912bde 100644 --- a/Makefile +++ b/Makefile @@ -8,3 +8,4 @@ all: xsv clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*` + rm -f xsv diff --git a/xsv.c b/xsv.c index 1c6dada..5dfa80f 100644 --- a/xsv.c +++ b/xsv.c @@ -136,7 +136,7 @@ static void warn(struct format *fmt, char *msg, ...) fprintf(stderr, "Warning at line %d: ", line_number); va_list args; va_start(args, msg); - vfprintf(stderr, args, msg); + vfprintf(stderr, msg, args); va_end(args); fputc('\n', stderr); }