summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/amdfwtool/amdfwread.c2
1 files changed, 1 insertions, 1 deletions
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;
}