Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sgimips/stand/common Add missing va_list, from Davi...



details:   https://anonhg.NetBSD.org/src/rev/484d33ef97a0
branches:  trunk
changeset: 343560:484d33ef97a0
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Feb 14 18:09:51 2016 +0000

description:
Add missing va_list, from David Binderman in PR 50796.

XXX: this file and arch/arc/stand/boot/disk.c are cutpaste clones.

diffstat:

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

diffs (19 lines):

diff -r 57e82a095a9b -r 484d33ef97a0 sys/arch/sgimips/stand/common/disk.c
--- a/sys/arch/sgimips/stand/common/disk.c      Sun Feb 14 18:07:49 2016 +0000
+++ b/sys/arch/sgimips/stand/common/disk.c      Sun Feb 14 18:09:51 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disk.c,v 1.11 2011/07/17 20:54:47 joerg Exp $  */
+/*     $NetBSD: disk.c,v 1.12 2016/02/14 18:09:51 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