From 6d37fa34d2ba7e15743d02decc9eb0a6f0750842 Mon Sep 17 00:00:00 2001 From: Martynas Venckus Date: Wed, 15 Jul 2009 21:06:26 +0000 Subject: missing va_end in aml_seterror; ok marco@ --- sys/dev/acpi/dsdt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') 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 * @@ -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; -- cgit v1.2.3