From: Ben Gras Date: Mon, 8 Mar 2010 14:36:55 +0000 (+0000) Subject: fix for wrong arg to va_end() in panic() (thanks tveerman) X-Git-Tag: v3.1.7~251 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doxygen.log?a=commitdiff_plain;h=4f063f2925ceb2593abc5f836b98ffb8376f9b9d;p=minix.git fix for wrong arg to va_end() in panic() (thanks tveerman) --- diff --git a/lib/libsys/panic.c b/lib/libsys/panic.c index 0abab10db..c2694c5de 100644 --- a/lib/libsys/panic.c +++ b/lib/libsys/panic.c @@ -33,7 +33,7 @@ PUBLIC void panic(const char *fmt, ...) if(fmt) { va_start(args, fmt); vprintf(fmt, args); - va_end(fmt); + va_end(args); } else { printf("no message\n"); }