diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2009-07-19 15:33:07 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2009-07-19 15:33:07 +0000 |
commit | acec178fb929eb94476ecbb513762ee3780a9033 (patch) | |
tree | f5db74677f887969c2a6a6efb1b321bd1bb0337c | |
parent | bb99ad03643fafaf79a834d6c9652f19b2d429fc (diff) |
missing va_end in pppd; ok millert@
-rw-r--r-- | usr.sbin/pppd/chat/chat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pppd/chat/chat.c b/usr.sbin/pppd/chat/chat.c index a637c4cc8f3..345a02e6d60 100644 --- a/usr.sbin/pppd/chat/chat.c +++ b/usr.sbin/pppd/chat/chat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chat.c,v 1.23 2007/09/11 16:30:59 gilles Exp $ */ +/* $OpenBSD: chat.c,v 1.24 2009/07/19 15:33:06 martynas Exp $ */ /* * Chat -- a program for automatic session establishment (i.e. dial @@ -83,7 +83,7 @@ #if 0 static char rcsid[] = "Id: chat.c,v 1.19 1998/03/24 23:57:48 paulus Exp $"; #else -static char rcsid[] = "$OpenBSD: chat.c,v 1.23 2007/09/11 16:30:59 gilles Exp $"; +static char rcsid[] = "$OpenBSD: chat.c,v 1.24 2009/07/19 15:33:06 martynas Exp $"; #endif #endif @@ -457,6 +457,7 @@ void fatal(int code, const char *fmt, ...) va_start(args, fmt); vfmtmsg(line, sizeof(line), fmt, args); + va_end(args); if (to_log) syslog(LOG_ERR, "%s", line); if (to_stderr) |