diff options
-rw-r--r-- | drivers/acpi/acpica/nsutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nsutils.c b/drivers/acpi/acpica/nsutils.c index a535b7afda5c..75113759f69d 100644 --- a/drivers/acpi/acpica/nsutils.c +++ b/drivers/acpi/acpica/nsutils.c | |||
@@ -341,7 +341,7 @@ acpi_status acpi_ns_build_internal_name(struct acpi_namestring_info *info) | |||
341 | 341 | ||
342 | if (!acpi_ns_valid_path_separator(*external_name) && | 342 | if (!acpi_ns_valid_path_separator(*external_name) && |
343 | (*external_name != 0)) { | 343 | (*external_name != 0)) { |
344 | return_ACPI_STATUS(AE_BAD_PARAMETER); | 344 | return_ACPI_STATUS(AE_BAD_PATHNAME); |
345 | } | 345 | } |
346 | 346 | ||
347 | /* Move on the next segment */ | 347 | /* Move on the next segment */ |