Module Name: src
Committed By: dholland
Date: Sun Feb 14 18:01:45 UTC 2016
Modified Files:
src/sys/arch/arc/stand/boot: disk.c
Log Message:
Add missing va_end. PR 50793 from David Binderman.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arc/stand/boot/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/arc/stand/boot/disk.c
diff -u src/sys/arch/arc/stand/boot/disk.c:1.6 src/sys/arch/arc/stand/boot/disk.c:1.7
--- src/sys/arch/arc/stand/boot/disk.c:1.6 Sun Jul 17 20:54:37 2011
+++ src/sys/arch/arc/stand/boot/disk.c Sun Feb 14 18:01:45 2016
@@ -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 @@ 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,