[PATCH] acpi: method: fix a copy-n-paste error in _SUB test

Alex Hung alex.hung at canonical.com
Thu Apr 19 04:55:41 UTC 2018


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 48736af..db50c7c 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -1061,7 +1061,7 @@ static void method_test_SUB_return(
 				"%s returned a NULL string.", name);
 		}
 	else {
-		fwts_failed(fw, LOG_LEVEL_MEDIUM, "Method_UIDBadReturnType",
+		fwts_failed(fw, LOG_LEVEL_MEDIUM, "Method_SUBBadReturnType",
 			"Method _SUB did not return a string or an integer.");
 	}
 }
-- 
2.7.4




More information about the fwts-devel mailing list