fix for wrong arg to va_end() in panic() (thanks tveerman)
This commit is contained in:
parent
2a8fabf4ad
commit
4f063f2925
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue