[PATCH][V2] dmi: dmicheck: fix a typo in a type 15's error message

Alex Hung alex.hung at canonical.com
Fri May 5 23:27:00 UTC 2017


Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
 src/dmi/dmicheck/dmicheck.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
index 77bfda6..2665ea7 100644
--- a/src/dmi/dmicheck/dmicheck.c
+++ b/src/dmi/dmicheck/dmicheck.c
@@ -1278,7 +1278,7 @@ static void dmicheck_entry(fwts_framework *fw,
 			if (!((val <= 0x04) || (val >= 0x80))) {
 				fwts_failed(fw, LOG_LEVEL_HIGH, DMI_VALUE_OUT_OF_RANGE,
 					"Out of range value 0x%2.2" PRIx8 " "
-					"(range allowed 0x00..0x01, "
+					"(range allowed 0x00..0x04, "
 					"0x80..0xff) while accessing entry '%s' @ "
 					"0x%8.8" PRIx32 ", field '%s', offset 0x%2.2x",
 					val, table, addr, "Access Method", 0x0a);
-- 
2.7.4




More information about the fwts-devel mailing list