summaryrefslogtreecommitdiff
path: root/source/components/tables/tbxfload.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/tables/tbxfload.c')
-rw-r--r--source/components/tables/tbxfload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/components/tables/tbxfload.c b/source/components/tables/tbxfload.c
index 6b79793488f27..57720067a2ad3 100644
--- a/source/components/tables/tbxfload.c
+++ b/source/components/tables/tbxfload.c
@@ -336,11 +336,11 @@ AcpiTbLoadNamespace (
{
Table = &AcpiGbl_RootTableList.Tables[i];
- if (!AcpiGbl_RootTableList.Tables[i].Address ||
+ if (!Table->Address ||
(!ACPI_COMPARE_NAME (Table->Signature.Ascii, ACPI_SIG_SSDT) &&
!ACPI_COMPARE_NAME (Table->Signature.Ascii, ACPI_SIG_PSDT) &&
!ACPI_COMPARE_NAME (Table->Signature.Ascii, ACPI_SIG_OSDT)) ||
- ACPI_FAILURE (AcpiTbValidateTable (Table)))
+ ACPI_FAILURE (AcpiTbValidateTable (Table)))
{
continue;
}