summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2009-07-15 20:34:58 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2009-07-15 20:34:58 +0000
commit69f62b8724c7a77706ff3cb10cdc25ab70544404 (patch)
tree0a8c5a357df147fe9c38cd3d8697001f0353d349 /sys/arch/mips64
parent5982ddc6ed98967c73889e15576dc2a8f2c2e6d2 (diff)
missing va_end in bios_printf & dioopen. ok miod@
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/mips64/arcbios.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mips64/mips64/arcbios.c b/sys/arch/mips64/mips64/arcbios.c
index 3a6830b6800..52ced29d12f 100644
--- a/sys/arch/mips64/mips64/arcbios.c
+++ b/sys/arch/mips64/mips64/arcbios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arcbios.c,v 1.21 2009/05/16 16:40:31 miod Exp $ */
+/* $OpenBSD: arcbios.c,v 1.22 2009/07/15 20:34:57 martynas Exp $ */
/*-
* Copyright (c) 1996 M. Warner Losh. All rights reserved.
* Copyright (c) 1996-2004 Opsycon AB. All rights reserved.
@@ -201,6 +201,7 @@ bios_printf(const char *fmt, ...)
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
bios_putstring(buf);
+ va_end(ap);
}
/*