fix for wrong arg to va_end() in panic() (thanks tveerman)

This commit is contained in:
Ben Gras 2010-03-08 14:36:55 +00:00
parent 2a8fabf4ad
commit 4f063f2925

View file

@ -33,7 +33,7 @@ PUBLIC void panic(const char *fmt, ...)
if(fmt) { if(fmt) {
va_start(args, fmt); va_start(args, fmt);
vprintf(fmt, args); vprintf(fmt, args);
va_end(fmt); va_end(args);
} else { } else {
printf("no message\n"); printf("no message\n");
} }