summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorJordan Hargrave <jordan@cvs.openbsd.org>2006-11-28 20:26:00 +0000
committerJordan Hargrave <jordan@cvs.openbsd.org>2006-11-28 20:26:00 +0000
commit56905e2564aaa8277e865bfce43d2c5dd8d32878 (patch)
treed33555f672330c434e35df0890161099c48e565c /sys/dev/acpi
parent007ce78dceac8655b7549c56be1b6b8b066d3683 (diff)
Fixed clearing arg for acpi_init_pic
ok kettenis@
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index 446c1b3625f..a3c4390e5fe 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.65 2006/11/27 19:32:18 kettenis Exp $ */
+/* $OpenBSD: acpi.c,v 1.66 2006/11/28 20:25:59 jordan Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -636,6 +636,7 @@ acpi_init_pic(struct acpi_softc *sc)
if (node == 0)
return;
+ memset(&arg, 0, sizeof(arg));
arg.type = AML_OBJTYPE_INTEGER;
#if NIOAPIC > 0
arg.v_integer = 1;