summaryrefslogtreecommitdiffstats
path: root/source/components/namespace/nsutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/namespace/nsutils.c')
-rw-r--r--source/components/namespace/nsutils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/components/namespace/nsutils.c b/source/components/namespace/nsutils.c
index 16a6bdb..f2cf74f 100644
--- a/source/components/namespace/nsutils.c
+++ b/source/components/namespace/nsutils.c
@@ -497,10 +497,12 @@ AcpiNsExternalizeName (
switch (InternalName[0])
{
case AML_ROOT_PREFIX:
+
PrefixLength = 1;
break;
case AML_PARENT_PREFIX:
+
for (i = 0; i < InternalNameLength; i++)
{
if (ACPI_IS_PARENT_PREFIX (InternalName[i]))
@@ -521,6 +523,7 @@ AcpiNsExternalizeName (
break;
default:
+
break;
}
OpenPOWER on IntegriCloud