From 376459c76608124c1bdf1a871244ef3248c3dda7 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 24 Jul 2012 10:52:45 +0200 Subject: [PATCH] Bug fixes --- Makefile | 1 + xsv.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5