summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/lib/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/lib/msg.c')
-rw-r--r--usr.sbin/pkg_install/lib/msg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/lib/msg.c b/usr.sbin/pkg_install/lib/msg.c
index 2b0ee07..57c84d3 100644
--- a/usr.sbin/pkg_install/lib/msg.c
+++ b/usr.sbin/pkg_install/lib/msg.c
@@ -71,5 +71,6 @@ y_or_n(Boolean def, const char *msg, ...)
ch = (def) ? 'Y' : 'N';
}
fclose(tty) ;
+ va_end(args);
return (ch == 'Y') ? TRUE : FALSE;
}
OpenPOWER on IntegriCloud