aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-10-20 19:56:05 -0500
committerRob Landley <rob@landley.net>2014-10-20 19:56:05 -0500
commit21f3c8db00f0d4a3f0989559847d2564f4c73a11 (patch)
tree50d7f1092d749394c66fe0f69bc742b8be4aecd5 /lib
parent977e48e1626b3e3f1f1f9b14f05ffc11e252455f (diff)
downloadtoybox-21f3c8db00f0d4a3f0989559847d2564f4c73a11.tar.gz
More static analysis fixes from Ashwini Sharma.
Diffstat (limited to 'lib')
-rw-r--r--lib/xwrap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c
index b7eb2741..6216d918 100644
--- a/lib/xwrap.c
+++ b/lib/xwrap.c
@@ -94,6 +94,7 @@ void xprintf(char *format, ...)
va_start(va, format);
vprintf(format, va);
+ va_end(va);
if (fflush(stdout) || ferror(stdout)) perror_exit("write");
}