Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/emips/stand/common Add missing va_end(). PR 50794 f...



details:   https://anonhg.NetBSD.org/src/rev/7650a11342eb
branches:  trunk
changeset: 343557:7650a11342eb
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Feb 14 18:04:47 2016 +0000

description:
Add missing va_end(). PR 50794 from David Binderman.

diffstat:

 sys/arch/emips/stand/common/printf.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 0b7974fc3f6a -r 7650a11342eb sys/arch/emips/stand/common/printf.c
--- a/sys/arch/emips/stand/common/printf.c      Sun Feb 14 18:01:45 2016 +0000
+++ b/sys/arch/emips/stand/common/printf.c      Sun Feb 14 18:04:47 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: printf.c,v 1.5 2014/02/24 07:41:15 martin Exp $        */
+/*     $NetBSD: printf.c,v 1.6 2016/02/14 18:04:47 dholland Exp $      */
 /*-
  * Copyright (c) 1998 Robert Nordier
  * All rights reserved.
@@ -74,6 +74,7 @@
                                while (u >>= 4);
                                goto dumpbuf;
             case 0:
+               va_end(ap);
                 return;
                        }
                }



Home | Main Index | Thread Index | Old Index