Comments
Patch
From 470e3aea1ea0a12e58ecdb0cb903cd9b0d0900aa Mon Sep 17 00:00:00 2001
From: AceLan Kao <acelan.kao@canonical.com>
Date: Wed, 1 Sep 2010 14:53:33 +0800
Subject: [PATCH] fadt: The FADT table name is not FADT, it's FACP
The name of FADT table in the /sys/firmware/acpi/tables/
is not "FADT", it's "FACP". The "FADT" name only exists
in /proc/acpi/
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
---
src/acpi/fadt/fadt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
@@ -161,7 +161,7 @@ static int fadt_init(fwts_framework *fw)
if (fwts_check_root_euid(fw))
return FWTS_ERROR;
- if ((fadt_table = fwts_acpi_table_load(fw, "FADT", 0, &fadt_size)) == NULL) {
+ if ((fadt_table = fwts_acpi_table_load(fw, "FACP", 0, &fadt_size)) == NULL) {
fwts_log_error(fw, "Failed to read ACPI FADT");
return FWTS_ERROR;
}
--
1.7.1