summaryrefslogtreecommitdiffstats
path: root/lib/libuutil/uu_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libuutil/uu_misc.c')
-rw-r--r--lib/libuutil/uu_misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libuutil/uu_misc.c b/lib/libuutil/uu_misc.c
index 67f757c90..b10afd8ea 100644
--- a/lib/libuutil/uu_misc.c
+++ b/lib/libuutil/uu_misc.c
@@ -199,6 +199,8 @@ uu_panic(const char *format, ...)
(void) vfprintf(stderr, format, args);
+ va_end(args);
+
if (uu_panic_thread == pthread_self())
abort();
else