summaryrefslogtreecommitdiff
path: root/source/compiler/aslopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslopt.c')
-rw-r--r--source/compiler/aslopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/aslopt.c b/source/compiler/aslopt.c
index 7770f3eb4bb14..e41e22f087b09 100644
--- a/source/compiler/aslopt.c
+++ b/source/compiler/aslopt.c
@@ -655,7 +655,7 @@ OptOptimizeNamePath (
* format -- something we can easily manipulate
*/
TargetPath.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
- Status = AcpiNsHandleToPathname (TargetNode, &TargetPath);
+ Status = AcpiNsHandleToPathname (TargetNode, &TargetPath, FALSE);
if (ACPI_FAILURE (Status))
{
AslCoreSubsystemError (Op, Status, "Getting Target NamePath",
@@ -667,7 +667,7 @@ OptOptimizeNamePath (
/* CurrentPath is the path to this scope (where we are in the namespace) */
CurrentPath.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
- Status = AcpiNsHandleToPathname (CurrentNode, &CurrentPath);
+ Status = AcpiNsHandleToPathname (CurrentNode, &CurrentPath, FALSE);
if (ACPI_FAILURE (Status))
{
AslCoreSubsystemError (Op, Status, "Getting Current NamePath",