[PATCH 06/12] commands/uimage: Fix error printing
Alexander Shiyan
shc_work at mail.ru
Sat Apr 12 01:10:59 PDT 2014
Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
commands/uimage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/uimage.c b/commands/uimage.c
index 345e496..4b0ed4d 100644
--- a/commands/uimage.c
+++ b/commands/uimage.c
@@ -63,8 +63,8 @@ static int do_uimage(int argc, char *argv[])
printf("verifying data crc... ");
ret = uimage_verify(handle);
if (ret) {
- goto err;
printf("Bad Data CRC\n");
+ goto err;
} else {
printf("ok\n");
}
--
1.8.3.2
More information about the barebox
mailing list