summaryrefslogtreecommitdiffstats
path: root/source/compiler/aslutils.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-01-02 19:01:21 +0000
committerjkim <jkim@FreeBSD.org>2013-01-02 19:01:21 +0000
commit8f7c8be022add76a280165a4247448f1fcd77631 (patch)
tree434e706ece73a93073f350c91cd35ed7d7e98811 /source/compiler/aslutils.c
parent526bfcf905004d9b67338a445cb661a63c3de018 (diff)
downloadFreeBSD-src-8f7c8be022add76a280165a4247448f1fcd77631.zip
FreeBSD-src-8f7c8be022add76a280165a4247448f1fcd77631.tar.gz
Import ACPICA 20121220.
Diffstat (limited to 'source/compiler/aslutils.c')
-rw-r--r--source/compiler/aslutils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/compiler/aslutils.c b/source/compiler/aslutils.c
index ac749c4..d2a70d7 100644
--- a/source/compiler/aslutils.c
+++ b/source/compiler/aslutils.c
@@ -826,7 +826,8 @@ UtAttachNameseg (
/* No dots in the namepath, there is only a single nameseg. */
/* Handle prefixes */
- while ((*Name == '\\') || (*Name == '^'))
+ while (ACPI_IS_ROOT_PREFIX (*Name) ||
+ ACPI_IS_PARENT_PREFIX (*Name))
{
Name++;
}
OpenPOWER on IntegriCloud