diff options
Diffstat (limited to 'cmd/ximg.c')
-rw-r--r-- | cmd/ximg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -136,7 +136,7 @@ do_imgextract(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) "at %08lx ...\n", uname, addr); fit_hdr = (const void *)addr; - if (!fit_check_format(fit_hdr)) { + if (fit_check_format(fit_hdr, IMAGE_SIZE_INVAL)) { puts("Bad FIT image format\n"); return 1; } |