summaryrefslogtreecommitdiff
path: root/source/compiler/aslnamesp.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslnamesp.c')
-rw-r--r--source/compiler/aslnamesp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/compiler/aslnamesp.c b/source/compiler/aslnamesp.c
index b5af0cb31be8..e38e397ff8b6 100644
--- a/source/compiler/aslnamesp.c
+++ b/source/compiler/aslnamesp.c
@@ -234,6 +234,10 @@ NsDisplayNamespace (
Status = AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
ACPI_UINT32_MAX, FALSE, NsDoOneNamespaceObject, NULL,
NULL, NULL);
+ if (ACPI_FAILURE (Status))
+ {
+ return (Status);
+ }
/* Print the full pathname for each namespace node */