]>
Commit | Line | Data |
---|---|---|
f3dfbd7c ER |
1 | diff -urN acpica-unix2-20140214/source/compiler/asllookup.c acpica-unix2-20140214-patch/source/compiler/asllookup.c |
2 | --- acpica-unix2-20140214/source/compiler/asllookup.c 2014-02-14 16:23:33.000000000 -0700 | |
3 | +++ acpica-unix2-20140214-patch/source/compiler/asllookup.c 2014-02-27 11:50:52.168659866 -0700 | |
4 | @@ -119,6 +119,7 @@ | |
5 | { | |
6 | ACPI_NAMESPACE_NODE *Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle); | |
7 | ACPI_NAMESPACE_NODE *Next; | |
8 | + ACPI_NAME_UNION tmp; | |
9 | ||
10 | ||
11 | /* Referenced flag is set during the namespace xref */ | |
12 | @@ -162,8 +163,9 @@ | |
13 | * Issue a remark even if it is a reserved name (starts | |
14 | * with an underscore). | |
15 | */ | |
16 | + ACPI_MOVE_32_TO_32(&tmp.Ascii, Next->Name.Ascii); | |
17 | sprintf (MsgBuffer, "Name is within method [%4.4s]", | |
18 | - Next->Name.Ascii); | |
19 | + tmp.Ascii); | |
20 | AslError (ASL_REMARK, ASL_MSG_NOT_REFERENCED, | |
21 | LkGetNameOp (Node->Op), MsgBuffer); | |
22 | return (AE_OK); |