1
0
Fork 0

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:
Peter Veenstra 2019-05-23 12:51:10 +00:00
parent fa8b4c5d00
commit 5888c05dd1
3 changed files with 3 additions and 0 deletions

View file

@ -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++;
}