patch-2.4.23 linux-2.4.23/drivers/acpi/namespace/nsutils.c
Next file: linux-2.4.23/drivers/acpi/parser/psparse.c
Previous file: linux-2.4.23/drivers/acpi/namespace/nssearch.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/drivers/acpi/namespace/nsutils.c
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.22/drivers/acpi/namespace/nsutils.c linux-2.4.23/drivers/acpi/namespace/nsutils.c
@@ -175,6 +175,11 @@
acpi_status status;
+ if (!node) {
+ acpi_os_printf ("[NULL NAME]");
+ return;
+ }
+
/* Convert handle to a full pathname and print it (with supplied message) */
buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER;
@@ -470,11 +475,11 @@
*result = 0;
if (info->fully_qualified) {
- ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "returning [%p] (abs) \"\\%s\"\n",
+ ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Returning [%p] (abs) \"\\%s\"\n",
internal_name, internal_name));
}
else {
- ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "returning [%p] (rel) \"%s\"\n",
+ ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Returning [%p] (rel) \"%s\"\n",
internal_name, internal_name));
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)