mirror of
https://github.com/acpica/acpica/
synced 2025-02-19 15:04:30 +03:00
improve error handling
date 2003.07.14.18.27.00; author agrover; state Exp;
This commit is contained in:
parent
e27e364d52
commit
d9045bf504
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: adisasm - Application-level disassembler routines
|
||||
* $Revision: 1.58 $
|
||||
* $Revision: 1.59 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -871,6 +871,11 @@ AdGetLocalTables (
|
||||
{
|
||||
ACPI_STRNCPY (TableHeader.Signature, "RSDT", 4);
|
||||
AcpiOsTableOverride (&TableHeader, &NewTable);
|
||||
if (!NewTable)
|
||||
{
|
||||
fprintf (stderr, "Could not obtain RSDT\n");
|
||||
return AE_NO_ACPI_TABLES;
|
||||
}
|
||||
|
||||
#if ACPI_MACHINE_WIDTH != 64
|
||||
|
||||
@ -933,7 +938,7 @@ AdGetLocalTables (
|
||||
else
|
||||
{
|
||||
fprintf (stderr, "Could not obtain DSDT\n");
|
||||
Status = AE_NO_ACPI_TABLES;
|
||||
return AE_NO_ACPI_TABLES;
|
||||
}
|
||||
|
||||
AcpiOsPrintf ("\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user