aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/nsobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/nsobject.c')
-rw-r--r--sys/contrib/dev/acpica/nsobject.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/contrib/dev/acpica/nsobject.c b/sys/contrib/dev/acpica/nsobject.c
index 6a6250dff735..35749e533f12 100644
--- a/sys/contrib/dev/acpica/nsobject.c
+++ b/sys/contrib/dev/acpica/nsobject.c
@@ -2,7 +2,7 @@
*
* Module Name: nsobject - Utilities for objects attached to namespace
* table entries
- * $Revision: 87 $
+ * $Revision: 89 $
*
******************************************************************************/
@@ -182,7 +182,8 @@ AcpiNsAttachObject (
{
/* Not a name handle */
- ACPI_REPORT_ERROR (("NsAttachObject: Invalid handle\n"));
+ ACPI_REPORT_ERROR (("NsAttachObject: Invalid handle %p [%s]\n",
+ Node, AcpiUtGetDescriptorName (Node)));
return_ACPI_STATUS (AE_BAD_PARAMETER);
}
@@ -233,7 +234,7 @@ AcpiNsAttachObject (
}
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Installing %p into Node %p [%4.4s]\n",
- ObjDesc, Node, Node->Name.Ascii));
+ ObjDesc, Node, AcpiUtGetNodeName (Node)));
/* Detach an existing attached object if present */
@@ -322,7 +323,7 @@ AcpiNsDetachObject (
Node->Type = ACPI_TYPE_ANY;
ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, "Node %p [%4.4s] Object %p\n",
- Node, Node->Name.Ascii, ObjDesc));
+ Node, AcpiUtGetNodeName (Node), ObjDesc));
/* Remove one reference on the object (and all subobjects) */