[PATCH 1/2] acpi: method: fix _ACx test (LP: #1297323)
Colin King
colin.king at canonical.com
Tue Mar 25 14:41:56 UTC 2014
From: Colin Ian King <colin.king at canonical.com>
There was a typo in the formatting of the name to be tested, causing
ACx controls to be tested and not the intended _ACx controls.
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
src/acpi/method/method.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index 66efffa..9b789cf 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -4202,7 +4202,7 @@ static int method_test_ACx(fwts_framework *fw)
for (i = 0; i < 10; i++) {
char buffer[5];
- snprintf(buffer, sizeof(buffer), "AC%d", i);
+ snprintf(buffer, sizeof(buffer), "_AC%d", i);
method_evaluate_method(fw, METHOD_OPTIONAL,
buffer, NULL, 0, method_test_THERM_return, buffer);
fwts_log_nl(fw);
--
1.9.1
More information about the fwts-devel
mailing list