aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/gpllib/acpi/xsdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/gpllib/acpi/xsdt.c b/com32/gpllib/acpi/xsdt.c
index d563593c..3e1b5abe 100644
--- a/com32/gpllib/acpi/xsdt.c
+++ b/com32/gpllib/acpi/xsdt.c
@@ -122,7 +122,7 @@ int parse_xsdt(s_acpi * acpi)
parse_dsdt(d);
/* PSDT have to be considered as SSDT. Intel ACPI Spec @ 5.2.11.3 */
} else if ((memcmp(adh.signature, SSDT, sizeof(SSDT) - 1) == 0)
- || (memcmp(adh.signature, PSDT, sizeof(PSDT) - 1))) {
+ || (memcmp(adh.signature, PSDT, sizeof(PSDT) - 1) == 0)) {
if ((acpi->ssdt_count >= MAX_SSDT - 1))
break;