From ee0f5d794de83093bba433b10a4c403eb0773ad7 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sat, 8 Oct 2022 11:53:13 +0200 Subject: util/amdfwread: Fix cookie error message Change-Id: I580675fcbf8c5058ade371c6b9edb7b7070a78a3 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/68234 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Paul Menzel --- util/amdfwtool/amdfwread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/amdfwtool/amdfwread.c b/util/amdfwtool/amdfwread.c index c9da3d883d..d6dc1e2c43 100644 --- a/util/amdfwtool/amdfwread.c +++ b/util/amdfwtool/amdfwread.c @@ -82,7 +82,7 @@ static int read_psp_directory(FILE *fw, uint32_t offset, uint32_t expected_cooki /* Ensure that we have a PSP directory */ if (header->cookie != expected_cookie) { ERR("Invalid PSP header cookie value found: 0x%x, expected: 0x%x\n", - expected_cookie, header->cookie); + header->cookie, expected_cookie); return 1; } -- cgit v1.2.3