diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2013-08-23 18:01:58 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2013-08-23 18:01:58 +0000 | 
| commit | 59ce063597ddbda74269a45aba8187dece2fe00a (patch) | |
| tree | 89234dd9f502de2faaf4a280ccd0d3785a7ae96f /source/components/tables/tbxfroot.c | |
| parent | dbded195f9840f9044a6828c8877c6bf0a956482 (diff) | |
Diffstat (limited to 'source/components/tables/tbxfroot.c')
| -rw-r--r-- | source/components/tables/tbxfroot.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/source/components/tables/tbxfroot.c b/source/components/tables/tbxfroot.c index fa67781cb14f..812f18003579 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 */ | 
