diff options
author | 2007-01-18 19:01:02 +0000 | |
---|---|---|
committer | 2007-01-18 19:01:02 +0000 | |
commit | 06846c896efa98fb37ea22446e685ef2acf5951e (patch) | |
tree | 8dd5c7967cb11b750ed625343a9c39d0ac022728 /sys | |
parent | No longer print the 'bios id' field in the dmesg, its of dubious diagnostic (diff) | |
download | wireguard-openbsd-06846c896efa98fb37ea22446e685ef2acf5951e.tar.xz wireguard-openbsd-06846c896efa98fb37ea22446e685ef2acf5951e.zip |
Added fix for static integer
ok marco@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/dsdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c index d013cf2b571..1a659c30f1e 100644 --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsdt.c,v 1.75 2007/01/16 21:21:28 marco Exp $ */ +/* $OpenBSD: dsdt.c,v 1.76 2007/01/18 19:01:02 jordan Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> * @@ -1746,7 +1746,7 @@ aml_cmpvalue(struct aml_value *lhs, struct aml_value *rhs, int opcode) lt = lhs->type & ~AML_STATIC; rt = rhs->type & ~AML_STATIC; if (lt == rt) { - switch (lhs->type) { + switch (lt) { case AML_OBJTYPE_INTEGER: rc = (lhs->v_integer - rhs->v_integer); break; |