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/0b7974fc3f6a
branches: trunk
changeset: 343556:0b7974fc3f6a
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 56bcd8e34cf2 -r 0b7974fc3f6a 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