[PATCH] acpi: method: fix _STR's output should be buffer, not string (LP: #1362503)

Alex Hung alex.hung at canonical.com
Thu Aug 28 09:16:55 UTC 2014


Signed-off-by: Alex Hung <alex.hung 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 48d3203..73dcf4f 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -1038,7 +1038,7 @@ static int method_test_HRV(fwts_framework *fw)
 static int method_test_STR(fwts_framework *fw)
 {
 	return method_evaluate_method(fw, METHOD_OPTIONAL,
-		"_STR", NULL, 0, method_test_string_return, NULL);
+		"_STR", NULL, 0, method_test_buffer_return, NULL);
 }
 
 static void method_test_PLD_return(
-- 
1.9.1




More information about the fwts-devel mailing list