diff options
author | 2012-03-15 18:36:53 +0000 | |
---|---|---|
committer | 2012-03-15 18:36:53 +0000 | |
commit | b7c728a76ecd5d7fbaeaf6651a516bb25eb3cbb4 (patch) | |
tree | 75ead9442f2b4eb5b7860605f5227a2f735a0466 | |
parent | we are always using gcc4 now (diff) | |
download | wireguard-openbsd-b7c728a76ecd5d7fbaeaf6651a516bb25eb3cbb4.tar.xz wireguard-openbsd-b7c728a76ecd5d7fbaeaf6651a516bb25eb3cbb4.zip |
Allow multiple backslashes at the start of a namespace path. It is pretty
clear this is not supposed to happen, but unfortunately the description of
the ECDT table in the standard document has a path that starts with two
backslashes so that's what some vendors used.
From Christophe Staiesse.
ok deraadt@
-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++; } |