diff options
-rw-r--r-- | module/bsnmp-jails.c | 2 |
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); |