Fix a obsecure coredump while testing with tmpfs on amd64.
Approved by: re (kensmith)
This commit is contained in:
parent
c6feae7224
commit
544970d64e
@ -164,9 +164,13 @@ prt(char *fmt, ...)
|
||||
|
||||
va_start(args, fmt);
|
||||
vfprintf(stdout, fmt, args);
|
||||
if (fsxlogf)
|
||||
vfprintf(fsxlogf, fmt, args);
|
||||
va_end(args);
|
||||
|
||||
if (fsxlogf) {
|
||||
va_start(args, fmt);
|
||||
vfprintf(fsxlogf, fmt, args);
|
||||
va_end(args);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user