paniclog: log correct string

This commit is contained in:
cohrs
2002-07-01 23:06:01 +00:00
parent eac7db7278
commit 0acba3f7db

View File

@@ -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.");