From 280c19ee77fc42e10f3d7a49c2b57b288642c7dd Mon Sep 17 00:00:00 2001 From: David Griffith Date: Thu, 25 May 2023 18:46:53 -0700 Subject: [PATCH] Backed off vsnprintf() to vsprintf() because Turbo C doesn't do the former. Given this is DOS, using vsprintf() like this should be fine. --- src/dos/dosinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos/dosinit.c b/src/dos/dosinit.c index 2621390..7b6fc3f 100644 --- a/src/dos/dosinit.c +++ b/src/dos/dosinit.c @@ -262,7 +262,7 @@ void os_warn (const char *s, ...) int style; va_start(m, s); - vsnprintf(errorstring, sizeof(char) * 80, s, m); + vsprintf(errorstring, s, m); va_end(m); os_beep(BEEP_HIGH); -- 2.34.1