[PATCH] acpi: pcct: fix incorrect printing length for PRIx64

Alex Hung alex.hung at canonical.com
Sat Jul 30 13:35:44 UTC 2016


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

diff --git a/src/acpi/pcct/pcct.c b/src/acpi/pcct/pcct.c
index 372c40b..0f8c399 100644
--- a/src/acpi/pcct/pcct.c
+++ b/src/acpi/pcct/pcct.c
@@ -64,7 +64,7 @@ static int pcct_test1(fwts_framework *fw)
 		fwts_failed(fw, LOG_LEVEL_LOW,
 			"PCCTReservedNonZero",
 			"PCCT reserved field must be zero, got "
-			"0x%8.8" PRIx64 " instead", pcct->reserved);
+			"0x%16.16" PRIx64 " instead", pcct->reserved);
 	}
 
 	offset = sizeof(fwts_acpi_table_pcct);
-- 
2.7.4




More information about the fwts-devel mailing list