diff options
-rw-r--r-- | code/unix/unix_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/unix/unix_main.c b/code/unix/unix_main.c index 31521de..d100a22 100644 --- a/code/unix/unix_main.c +++ b/code/unix/unix_main.c @@ -438,7 +438,7 @@ void Sys_Error( const char *error, ...) CL_Shutdown (); va_start (argptr,error); - vsprintf (string,error,argptr); + Q_vsnprintf (string, sizeof(string), error, argptr); va_end (argptr); fprintf(stderr, "Sys_Error: %s\n", string); |