Module Name: src
Committed By: dholland
Date: Sun Feb 14 18:09:51 UTC 2016
Modified Files:
src/sys/arch/sgimips/stand/common: disk.c
Log Message:
Add missing va_list, from David Binderman in PR 50796.
XXX: this file and arch/arc/stand/boot/disk.c are cutpaste clones.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/sgimips/stand/common/disk.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sgimips/stand/common/disk.c
diff -u src/sys/arch/sgimips/stand/common/disk.c:1.11 src/sys/arch/sgimips/stand/common/disk.c:1.12
--- src/sys/arch/sgimips/stand/common/disk.c:1.11 Sun Jul 17 20:54:47 2011
+++ src/sys/arch/sgimips/stand/common/disk.c Sun Feb 14 18:09:51 2016
@@ -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 @@ diskopen(struct open_file *f, ...)
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,