paniclog: log correct string

This commit is contained in:
cohrs
2002-07-01 23:06:01 +00:00
parent eac7db7278
commit 0acba3f7db
+1 -1
View File
@@ -251,7 +251,7 @@ impossible VA_DECL(const char *, s)
{ {
char pbuf[BUFSZ]; char pbuf[BUFSZ];
Vsprintf(pbuf,s,VA_ARGS); Vsprintf(pbuf,s,VA_ARGS);
paniclog("impossible", s); paniclog("impossible", pbuf);
} }
vpline(s,VA_ARGS); vpline(s,VA_ARGS);
pline("Program in disorder - perhaps you'd better #quit."); pline("Program in disorder - perhaps you'd better #quit.");