fix a braino that causes args to /not/ get saved

This commit is contained in:
Bill Currie 2005-10-23 22:00:45 +00:00 committed by Jeff Teunissen
parent 088ae9d697
commit bb852eba75
1 changed files with 3 additions and 1 deletions

View File

@ -419,10 +419,12 @@ Sys_Error (const char *error, ...)
va_list args;
#ifdef VA_LIST_IS_ARRAY
va_list tmp_args;
VA_COPY (tmp_args, args);
#endif
va_start (args, error);
#ifdef VA_LIST_IS_ARRAY
VA_COPY (tmp_args, args);
#endif
sys_err_printf_function (error, args);
va_end (args);