Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ppbus Add missing va_end, from David Binderman in PR...



details:   https://anonhg.NetBSD.org/src/rev/2208f336b78b
branches:  trunk
changeset: 813703:2208f336b78b
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Feb 14 18:11:16 2016 +0000

description:
Add missing va_end, from David Binderman in PR 50797.

diffstat:

 sys/dev/ppbus/ppbus_msq.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r b7484436ecac -r 2208f336b78b sys/dev/ppbus/ppbus_msq.c
--- a/sys/dev/ppbus/ppbus_msq.c Sun Feb 14 18:09:51 2016 +0000
+++ b/sys/dev/ppbus/ppbus_msq.c Sun Feb 14 18:11:16 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ppbus_msq.c,v 1.10 2011/07/17 20:54:51 joerg Exp $ */
+/* $NetBSD: ppbus_msq.c,v 1.11 2016/02/14 18:11:16 dholland Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 Nicolas Souchu
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ppbus_msq.c,v 1.10 2011/07/17 20:54:51 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ppbus_msq.c,v 1.11 2016/02/14 18:11:16 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -259,6 +259,7 @@
                        panic("%s: unknown parameter (0x%x)!", __func__, param);
                }
        }
+       va_end(p_list);
 
        return (0);
 }



Home | Main Index | Thread Index | Old Index