aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/dbinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/dbinput.c')
-rw-r--r--sys/contrib/dev/acpica/dbinput.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/contrib/dev/acpica/dbinput.c b/sys/contrib/dev/acpica/dbinput.c
index 76b0f40b0b91..5e85c981d28d 100644
--- a/sys/contrib/dev/acpica/dbinput.c
+++ b/sys/contrib/dev/acpica/dbinput.c
@@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbinput - user front-end to the AML debugger
- * $Revision: 68 $
+ * $Revision: 72 $
*
******************************************************************************/
@@ -138,11 +138,10 @@ NATIVE_CHAR AcpiGbl_DbParsedBuf[80];
NATIVE_CHAR AcpiGbl_DbScopeBuf[40];
NATIVE_CHAR AcpiGbl_DbDebugFilename[40];
NATIVE_CHAR *AcpiGbl_DbArgs[DB_MAX_ARGS];
-NATIVE_CHAR *AcpiGbl_DbBuffer;
+NATIVE_CHAR *AcpiGbl_DbBuffer = NULL;
NATIVE_CHAR *AcpiGbl_DbFilename = NULL;
BOOLEAN AcpiGbl_DbOutputToFile = FALSE;
-
UINT32 AcpiGbl_DbDebugLevel = ACPI_LV_VERBOSITY2;
UINT32 AcpiGbl_DbConsoleDebugLevel = NORMAL_DEFAULT | ACPI_LV_TABLES;
UINT8 AcpiGbl_DbOutputFlags = DB_CONSOLE_OUTPUT;
@@ -617,7 +616,7 @@ AcpiDbCommandDispatch (
case CMD_ALLOCATIONS:
#ifdef ACPI_DBG_TRACK_ALLOCATIONS
- AcpiUtDumpCurrentAllocations ((UINT32) -1, NULL);
+ AcpiUtDumpAllocations ((UINT32) -1, NULL);
#endif
break;
@@ -1009,7 +1008,6 @@ AcpiDbUserCommands (
* because all the semaphores are deleted during termination
*/
AcpiTerminate ();
-
return (Status);
}