more vsnprintf

This commit is contained in:
nhmall
2020-01-20 18:14:19 -05:00
parent b6efb765dc
commit d61bfc98b4

View File

@@ -631,7 +631,11 @@ VA_DECL(const char *, str)
{
char buf[BUFSZ];
#if !defined(NO_VSNPRINTF)
(void) vsnprintf(buf, sizeof buf, str, VA_ARGS);
#else
Vsprintf(buf, str, VA_ARGS);
#endif
raw_print(buf);
paniclog("panic", buf);
}