diff options
author | tjr <tjr@FreeBSD.org> | 2002-10-06 09:23:58 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-10-06 09:23:58 +0000 |
commit | 86028a3db23d5b258109be65a1a42fa1e0e5531b (patch) | |
tree | 2a21454b006874bebc27095a2013634dc9aee1ae /bin/pax | |
parent | a6e37dc9198254af864dbf54f93d1149a26e9b51 (diff) | |
download | FreeBSD-src-86028a3db23d5b258109be65a1a42fa1e0e5531b.zip FreeBSD-src-86028a3db23d5b258109be65a1a42fa1e0e5531b.tar.gz |
Ensure all va_starts have a matching va_end.
Obtained from: NetBSD
Diffstat (limited to 'bin/pax')
-rw-r--r-- | bin/pax/tty_subs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pax/tty_subs.c b/bin/pax/tty_subs.c index a56d56b..d1a5470 100644 --- a/bin/pax/tty_subs.c +++ b/bin/pax/tty_subs.c @@ -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); |