From edd8b0e9fba8a9ce5b5615cdad488e5262ceb135 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Tue, 10 Mar 2015 21:44:49 +0100 Subject: [PATCH] Display the values in the right order, according to the text. --- prog_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog_commands.c b/prog_commands.c index cf80f8b..c1441d7 100644 --- a/prog_commands.c +++ b/prog_commands.c @@ -239,7 +239,7 @@ int flash_target(struct part_desc* part, char* filename, int calc_user_code) if (calc_user_code == 1) { v[7] = cksum; } else if (cksum != v[7]) { - printf("Checksum is 0x%08x, should be 0x%08x\n", cksum, v[7]); + printf("Checksum is 0x%08x, should be 0x%08x\n", v[7], cksum); free(data); return -5; } -- 2.43.0