diff options
author | 2006-10-19 01:19:15 +0000 | |
---|---|---|
committer | 2006-10-19 01:19:15 +0000 | |
commit | 4e8c6959ce198f9cff75b388e753d4612ab92ada (patch) | |
tree | 109577b2fd537dfb76edd63ab68a55717ca1569b /sys | |
parent | geodesc needed for Geode SC1100/SCx200 machines to reboot; noted by tom (diff) | |
download | wireguard-openbsd-4e8c6959ce198f9cff75b388e753d4612ab92ada.tar.xz wireguard-openbsd-4e8c6959ce198f9cff75b388e753d4612ab92ada.zip |
Fixed acpitz match function
ok marco@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/acpitz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c index 95ed954ad80..4903e734c97 100644 --- a/sys/dev/acpi/acpitz.c +++ b/sys/dev/acpi/acpitz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitz.c,v 1.3 2006/10/12 16:38:21 jordan Exp $ */ +/* $OpenBSD: acpitz.c,v 1.4 2006/10/19 01:19:15 jordan Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> @@ -79,7 +79,7 @@ acpitz_match(struct device *parent, void *match, void *aux) aa->aaa_table != NULL) return (0); - if (aa->aaa_node->opcode != AMLOP_THERMALZONE) + if (aa->aaa_node->value->type != AML_OBJTYPE_THERMZONE) return (0); return (1); |