Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arc/stand/boot Add missing va_end. PR 50793 from Da...



details:   https://anonhg.NetBSD.org/src/rev/8980fc6b3a95
branches:  trunk
changeset: 813698:8980fc6b3a95
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Feb 14 18:01:45 2016 +0000

description:
Add missing va_end. PR 50793 from David Binderman.

diffstat:

 sys/arch/arc/stand/boot/disk.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r b478533402dd -r 8980fc6b3a95 sys/arch/arc/stand/boot/disk.c
--- a/sys/arch/arc/stand/boot/disk.c    Sun Feb 14 17:06:24 2016 +0000
+++ b/sys/arch/arc/stand/boot/disk.c    Sun Feb 14 18:01:45 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disk.c,v 1.6 2011/07/17 20:54:37 joerg Exp $   */
+/*     $NetBSD: disk.c,v 1.7 2016/02/14 18:01:45 dholland Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -112,8 +112,8 @@
        va_list ap;
 
        va_start(ap, f);
-
        device = va_arg(ap, char *);
+       va_end(ap);
 
        /*
         * For NetBSD/sgimips, since we use the SGI partition map directly,



Home | Main Index | Thread Index | Old Index