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/18fdf9867156
branches:  trunk
changeset: 813699:18fdf9867156
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 8980fc6b3a95 -r 18fdf9867156 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