summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Dobrowolski <lukasz@dobrowolski.io>2016-10-25 00:29:37 +0200
committerMartin Roth <martinroth@google.com>2016-11-02 19:03:02 +0100
commit4291e8b6ca0cc62a2d1945422b9eb3a2c9318dac (patch)
tree7e9be879c2d503c79f73e888cb150f0966292ba5
parent571c2302525206715c2f12bc14fab931e8cdf757 (diff)
vendorcode/amd/f14: Fix ignored argument in IDS_HDT_CONSOLE
String format required two arguments however those were packaged in ( , ) so the left one was ignored. Change-Id: I59698319d5ff4215f296356147b4e22229cc9245 Signed-off-by: Łukasz Dobrowolski <lukasz@dobrowolski.io> Reviewed-on: https://review.coreboot.org/17118 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r--src/vendorcode/amd/agesa/f14/Proc/Common/S3SaveState.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vendorcode/amd/agesa/f14/Proc/Common/S3SaveState.c b/src/vendorcode/amd/agesa/f14/Proc/Common/S3SaveState.c
index b7aaf22e3d..8866148c85 100644
--- a/src/vendorcode/amd/agesa/f14/Proc/Common/S3SaveState.c
+++ b/src/vendorcode/amd/agesa/f14/Proc/Common/S3SaveState.c
@@ -641,7 +641,9 @@ S3SaveDebugPrintHexArray (
break;
case AccessWidth64:
case AccessS3SaveWidth64:
- IDS_HDT_CONSOLE (S3_TRACE, "0x%08x%08x", ((UINT32*) ((UINT64*)Array + Index)[1], ((UINT32*) ((UINT64*)Array + Index))[0]));
+ IDS_HDT_CONSOLE(S3_TRACE, "0x%08x%08x",
+ ((UINT32 *) ((UINT64 *)Array + Index))[1],
+ ((UINT32 *) ((UINT64 *)Array + Index))[0]);
break;
default:
IDS_ERROR_TRAP;