summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pwd_mkdb
diff options
context:
space:
mode:
authorgsoares <gsoares@openbsd.org>2015-08-27 19:11:37 +0000
committergsoares <gsoares@openbsd.org>2015-08-27 19:11:37 +0000
commit56b60b098a487576efe9cb263e278f0399e949b4 (patch)
treed3e933e004ca948d366f6dbdd6287cf46fcd8c41 /usr.sbin/pwd_mkdb
parentdelete a comment about gcc -Wuninitialized (diff)
downloadwireguard-openbsd-56b60b098a487576efe9cb263e278f0399e949b4.tar.xz
wireguard-openbsd-56b60b098a487576efe9cb263e278f0399e949b4.zip
missing va_end(); OK deraadt
Diffstat (limited to 'usr.sbin/pwd_mkdb')
-rw-r--r--usr.sbin/pwd_mkdb/pwd_mkdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.c b/usr.sbin/pwd_mkdb/pwd_mkdb.c
index c6a93093634..1e8b3991c05 100644
--- a/usr.sbin/pwd_mkdb/pwd_mkdb.c
+++ b/usr.sbin/pwd_mkdb/pwd_mkdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd_mkdb.c,v 1.49 2015/08/19 17:58:32 deraadt Exp $ */
+/* $OpenBSD: pwd_mkdb.c,v 1.50 2015/08/27 19:11:37 gsoares Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -435,6 +435,7 @@ fatalx(const char *fmt, ...)
va_start(ap, fmt);
vwarnx(fmt, ap);
+ va_end(ap);
cleanup();
exit(EXIT_FAILURE);
}