Al Stone 938de5
Index: src/source/compiler/asllookup.c
Al Stone 938de5
===================================================================
Al Stone 938de5
--- src.orig/source/compiler/asllookup.c
Al Stone 938de5
+++ src/source/compiler/asllookup.c
Al Stone 938de5
@@ -119,6 +119,7 @@ LkIsObjectUsed (
Al Stone ff2804
 {
Al Stone ff2804
     ACPI_NAMESPACE_NODE     *Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle);
Al Stone ff2804
     ACPI_NAMESPACE_NODE     *Next;
Al Stone ff2804
+    ACPI_NAME_UNION         tmp;
Al Stone e1a23e
     ASL_METHOD_LOCAL        *MethodLocals;
Al Stone e1a23e
     ASL_METHOD_LOCAL        *MethodArgs;
Al Stone e1a23e
     UINT32                  i;
Al Stone e1a23e
@@ -227,8 +228,9 @@ LkIsObjectUsed (
Al Stone ff2804
              * Issue a remark even if it is a reserved name (starts
Al Stone ff2804
              * with an underscore).
Al Stone ff2804
              */
Al Stone ff2804
+            ACPI_MOVE_32_TO_32(&tmp.Ascii, Next->Name.Ascii);
Al Stone ff2804
             sprintf (MsgBuffer, "Name is within method [%4.4s]",
Al Stone ff2804
-                Next->Name.Ascii);
Al Stone ff2804
+                tmp.Ascii);
Al Stone ff2804
             AslError (ASL_REMARK, ASL_MSG_NOT_REFERENCED,
Al Stone ff2804
                 LkGetNameOp (Node->Op), MsgBuffer);
Al Stone ff2804
             return (AE_OK);