diff options
-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 50bfaad64b2..1b3261e6750 100644 --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsdt.c,v 1.192 2012/03/10 21:18:59 kettenis Exp $ */ +/* $OpenBSD: dsdt.c,v 1.193 2012/03/15 18:36:53 kettenis Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> * @@ -4085,7 +4085,7 @@ aml_searchname(struct aml_node *root, const void *vname) int i; dnprintf(25,"Searchname: %s:%s = ", aml_nodename(root), vname); - if (*name == AMLOP_ROOTCHAR) { + while (*name == AMLOP_ROOTCHAR) { root = &aml_root; name++; } |