paniclog: log correct string
This commit is contained in:
+1
-1
@@ -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.");
|
||||||
|
|||||||
Reference in New Issue
Block a user