summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2010-10-01 21:58:51 +0000
committerStef Walter <stef@memberwebs.com>2010-10-01 21:58:51 +0000
commit88f8d9afaadacd0d1cbdcdaf0a2216474cd16711 (patch)
tree7d15bc3e2676c9738ae17313260336bae97e5b8f
parent5030d63cadb04f20131b052a457c98d97705a24a (diff)
Fix crash when printing outputHEADmaster
-rw-r--r--module/bsnmp-jails.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/bsnmp-jails.c b/module/bsnmp-jails.c
index cfd0008..034c6d0 100644
--- a/module/bsnmp-jails.c
+++ b/module/bsnmp-jails.c
@@ -260,6 +260,8 @@ emsg(const char *format, ...)
va_list va;
va_start (va, format);
vsyslog (LOG_ERR, format, va);
+ va_end (va);
+ va_start (va, format);
vfprintf (stderr, format, va);
fputc ('\n', stderr);
va_end (va);