Al Stone ff2804
diff -urN acpica-unix2-20140214/source/compiler/asllookup.c acpica-unix2-20140214-patch/source/compiler/asllookup.c
Al Stone ff2804
--- acpica-unix2-20140214/source/compiler/asllookup.c	2014-02-14 16:23:33.000000000 -0700
Al Stone ff2804
+++ acpica-unix2-20140214-patch/source/compiler/asllookup.c	2014-02-27 11:50:52.168659866 -0700
Al Stone 4a5eac
@@ -119,6 +119,7 @@
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 ff2804
 
Al Stone ff2804
 
Al Stone ff2804
     /* Referenced flag is set during the namespace xref */
Al Stone 4a5eac
@@ -162,8 +163,9 @@
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);