Remove NO_VSNPRINTF

Affects only ancient VMS where vsnprintf wasn't available.
This commit is contained in:
Pasi Kallinen
2023-01-06 15:53:03 +02:00
parent 18fa85c681
commit 030fc0036a
8 changed files with 2 additions and 46 deletions

View File

@@ -656,11 +656,7 @@ panic 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);
}