paniclog: log correct string
This commit is contained in:
@@ -251,7 +251,7 @@ impossible VA_DECL(const char *, s)
|
||||
{
|
||||
char pbuf[BUFSZ];
|
||||
Vsprintf(pbuf,s,VA_ARGS);
|
||||
paniclog("impossible", s);
|
||||
paniclog("impossible", pbuf);
|
||||
}
|
||||
vpline(s,VA_ARGS);
|
||||
pline("Program in disorder - perhaps you'd better #quit.");
|
||||
|
||||
Reference in New Issue
Block a user