summaryrefslogtreecommitdiffstats
path: root/tools/lib/subcmd/subcmd-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/subcmd/subcmd-util.h')
-rw-r--r--tools/lib/subcmd/subcmd-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/subcmd/subcmd-util.h b/tools/lib/subcmd/subcmd-util.h
index dfac76e35ac7..c742b08815dc 100644
--- a/tools/lib/subcmd/subcmd-util.h
+++ b/tools/lib/subcmd/subcmd-util.h
@@ -20,8 +20,8 @@ static __noreturn inline void die(const char *err, ...)
va_start(params, err);
report(" Fatal: ", err, params);
- exit(128);
va_end(params);
+ exit(128);
}
#define zfree(ptr) ({ free(*ptr); *ptr = NULL; })