summaryrefslogtreecommitdiff
path: root/sys/netiso/tp_cons.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-05 22:32:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-05 22:32:47 +0000
commit772191eebf6a62b3fe9de2482c910de8c79000d5 (patch)
treeeea109f48afccf4e7cab1ea695e65fec36d1cf5e /sys/netiso/tp_cons.c
parenta30f0def118756a387cba2c5eac41a702277da77 (diff)
make sure that va_start() has matching va_end()
Diffstat (limited to 'sys/netiso/tp_cons.c')
-rw-r--r--sys/netiso/tp_cons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netiso/tp_cons.c b/sys/netiso/tp_cons.c
index d5cb50ee216..f4792d91283 100644
--- a/sys/netiso/tp_cons.c
+++ b/sys/netiso/tp_cons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_cons.c,v 1.5 2001/06/27 03:49:54 angelos Exp $ */
+/* $OpenBSD: tp_cons.c,v 1.6 2001/09/05 22:32:40 deraadt Exp $ */
/* $NetBSD: tp_cons.c,v 1.8 1996/02/14 21:32:37 christos Exp $ */
/*-
@@ -239,7 +239,7 @@ tpcons_input(m, va_alist)
faddr = va_arg(ap, struct sockaddr *);
laddr = va_arg(ap, struct sockaddr *);
channel = va_arg(ap, caddr_t);
-
+ va_end(ap);
m = (struct mbuf *) tp_inputprep(m);