summaryrefslogtreecommitdiffstats
path: root/source/components/namespace/nsutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/namespace/nsutils.c')
-rw-r--r--source/components/namespace/nsutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/components/namespace/nsutils.c b/source/components/namespace/nsutils.c
index 3b07f83..43f734e 100644
--- a/source/components/namespace/nsutils.c
+++ b/source/components/namespace/nsutils.c
@@ -405,7 +405,7 @@ AcpiNsBuildInternalName (
if (!AcpiNsValidPathSeparator (*ExternalName) &&
(*ExternalName != 0))
{
- return_ACPI_STATUS (AE_BAD_PARAMETER);
+ return_ACPI_STATUS (AE_BAD_PATHNAME);
}
/* Move on the next segment */
OpenPOWER on IntegriCloud