Ensure all va_starts have a matching va_end.
Obtained from: NetBSD
This commit is contained in:
parent
a6e37dc919
commit
86028a3db2
@ -99,9 +99,9 @@ void
|
||||
tty_prnt(const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
if (ttyoutf == NULL)
|
||||
return;
|
||||
va_start(ap, fmt);
|
||||
(void)vfprintf(ttyoutf, fmt, ap);
|
||||
va_end(ap);
|
||||
(void)fflush(ttyoutf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user