mirror of
https://github.com/acpica/acpica/
synced 2025-02-23 08:54:16 +03:00
Change exception code for invalid pathname in EvaluateObject.
Change the returned exception code from AE_BAD_PARAMETER to the more appropriate AE_BAD_PATHNAME, when the input pathname to evaluate object is invalid.
This commit is contained in:
parent
fbf40bbd3c
commit
904bdc31c3
@ -477,7 +477,7 @@ AcpiNsBuildInternalName (
|
||||
if (!AcpiNsValidPathSeparator (*ExternalName) &&
|
||||
(*ExternalName != 0))
|
||||
{
|
||||
return_ACPI_STATUS (AE_BAD_PARAMETER);
|
||||
return_ACPI_STATUS (AE_BAD_PATHNAME);
|
||||
}
|
||||
|
||||
/* Move on the next segment */
|
||||
|
Loading…
x
Reference in New Issue
Block a user