From: Nathael Pajani Date: Tue, 10 Mar 2015 20:44:49 +0000 (+0100) Subject: Display the values in the right order, according to the text. X-Git-Tag: v1.07~2 X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=edd8b0e9fba8a9ce5b5615cdad488e5262ceb135;p=soft%2Ftools%2Flpctools Display the values in the right order, according to the text. --- 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; }