summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2009-07-15 21:06:26 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2009-07-15 21:06:26 +0000
commit6d37fa34d2ba7e15743d02decc9eb0a6f0750842 (patch)
treee2a5f2f4acdfae597f72f83292e5c68dd3390d8b /sys
parent8dd45d0c3bae3331c278442e2fbb622ee39fed2d (diff)
missing va_end in aml_seterror; ok marco@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/dsdt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index 361c6ae6f73..d266371257f 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.c,v 1.150 2009/06/01 22:36:12 jordan Exp $ */
+/* $OpenBSD: dsdt.c,v 1.151 2009/07/15 21:06:25 martynas Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -3353,6 +3353,7 @@ aml_seterror(struct aml_scope *scope, const char *fmt, ...)
printf("### AML PARSE ERROR (0x%x): ", aml_pc(scope->pos));
vprintf(fmt, ap);
printf("\n");
+ va_end(ap);
while (scope) {
scope->pos = scope->end;