Add some missing va_ends. Reported by jmarsh
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4227
This commit is contained in:
parent
fa8b4c5d00
commit
5888c05dd1
3 changed files with 3 additions and 0 deletions
|
@ -490,6 +490,7 @@ static void uprintf(char const *s, ...)
|
|||
va_list arg_ptr;
|
||||
va_start (arg_ptr, s);
|
||||
vsprintf(ubufp, s, arg_ptr);
|
||||
va_end(arg_ptr);
|
||||
while (*ubufp)
|
||||
ubufp++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue