Better error message on method failure

date	2001.11.06.21.09.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:14:44 +00:00
parent f3046053b6
commit 5503084854

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: psxface - Parser external interfaces
* $Revision: 1.52 $
* $Revision: 1.54 $
*
*****************************************************************************/
@ -287,14 +287,15 @@ AcpiPsxExecute (
}
}
/* Now check status from the method execution */
if (ACPI_FAILURE (Status))
{
DUMP_PATHNAME (MethodNode, "PsExecute: method failed -",
REPORT_ERROR (("Method execution failed, %s\n", AcpiFormatException (Status)));
DUMP_PATHNAME (MethodNode, "Method pathname and nodeq: ",
ACPI_LV_ERROR, _COMPONENT);
}
/*
* If the method has returned an object, signal this to the caller with
* a control exception code
@ -308,7 +309,6 @@ AcpiPsxExecute (
Status = AE_CTRL_RETURN_VALUE;
}
return_ACPI_STATUS (Status);
}