mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 07:01:57 +00:00
tools: imagetool: Show error message when detecting image type failed
Signed-off-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
parent
27e46a991c
commit
6c58aa1e61
1 changed files with 5 additions and 0 deletions
|
@ -71,6 +71,11 @@ int imagetool_verify_print_header(
|
|||
}
|
||||
}
|
||||
|
||||
if (retval != 0) {
|
||||
fprintf(stderr, "%s: cannot detect image type\n",
|
||||
params->cmdname);
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue