Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/powerd CID/980002: missing va_end()



details:   https://anonhg.NetBSD.org/src/rev/d9152295a05e
branches:  trunk
changeset: 784763:d9152295a05e
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 09 01:16:39 2013 +0000

description:
CID/980002: missing va_end()

diffstat:

 usr.sbin/powerd/powerd.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 27ac34245bcd -r d9152295a05e usr.sbin/powerd/powerd.c
--- a/usr.sbin/powerd/powerd.c  Sat Feb 09 00:32:12 2013 +0000
+++ b/usr.sbin/powerd/powerd.c  Sat Feb 09 01:16:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: powerd.c,v 1.17 2012/03/15 02:02:24 joerg Exp $        */
+/*     $NetBSD: powerd.c,v 1.18 2013/02/09 01:16:39 christos Exp $     */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -371,4 +371,5 @@
                            "UNKNOWN" : prioritynames[i].c_name);
                vfprintf(stderr, msg, arglist);
        }
+       va_end(arglist);
 }



Home | Main Index | Thread Index | Old Index