summaryrefslogtreecommitdiffstats
path: root/source/components/tables/tbxfroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/tables/tbxfroot.c')
-rw-r--r--source/components/tables/tbxfroot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/components/tables/tbxfroot.c b/source/components/tables/tbxfroot.c
index fa67781..812f180 100644
--- a/source/components/tables/tbxfroot.c
+++ b/source/components/tables/tbxfroot.c
@@ -75,8 +75,7 @@ AcpiTbValidateRsdp (
* Note: Sometimes there exists more than one RSDP in memory; the valid
* RSDP has a valid checksum, all others have an invalid checksum.
*/
- if (ACPI_STRNCMP ((char *) Rsdp->Signature, ACPI_SIG_RSDP,
- sizeof (ACPI_SIG_RSDP)-1) != 0)
+ if (!ACPI_VALIDATE_RSDP_SIG (Rsdp->Signature))
{
/* Nope, BAD Signature */
OpenPOWER on IntegriCloud