diff options
| author | Xin LI <delphij@FreeBSD.org> | 2007-06-26 13:51:53 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2007-06-26 13:51:53 +0000 |
| commit | 544970d64e0af5e3c03710d48dcd7cb10a35927f (patch) | |
| tree | 4ceb9c53117f674941b77598a4481133d5276a55 /tools | |
| parent | c6feae72244fd50640e544aca79f52873c7d7448 (diff) | |
Notes
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/regression/fsx/fsx.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/regression/fsx/fsx.c b/tools/regression/fsx/fsx.c index 316185d48116..7da745bfe3d1 100644 --- a/tools/regression/fsx/fsx.c +++ b/tools/regression/fsx/fsx.c @@ -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 |
