summaryrefslogtreecommitdiff
path: root/debugger/dbxface.c
diff options
context:
space:
mode:
Diffstat (limited to 'debugger/dbxface.c')
-rw-r--r--debugger/dbxface.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/debugger/dbxface.c b/debugger/dbxface.c
index 9578f992486eb..e638733c22566 100644
--- a/debugger/dbxface.c
+++ b/debugger/dbxface.c
@@ -137,7 +137,13 @@ AcpiDbStartCommand (
/* Get the user input line */
- (void) AcpiOsGetLine (AcpiGbl_DbLineBuf);
+ Status = AcpiOsGetLine (AcpiGbl_DbLineBuf,
+ ACPI_DB_LINE_BUFFER_SIZE, NULL);
+ if (ACPI_FAILURE (Status))
+ {
+ ACPI_EXCEPTION ((AE_INFO, Status, "While parsing command line"));
+ return (Status);
+ }
}
Status = AcpiDbCommandDispatch (AcpiGbl_DbLineBuf, WalkState, Op);