mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
tools: Add an error code when fit_handle_file() fails
The error code may provide useful information for debugging. Add it to the error string. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com>
This commit is contained in:
parent
73a9054d0f
commit
655cc69655
1 changed files with 2 additions and 2 deletions
|
@ -651,8 +651,8 @@ static int fit_handle_file(struct image_tool_params *params)
|
|||
}
|
||||
|
||||
if (ret) {
|
||||
fprintf(stderr, "%s Can't add hashes to FIT blob\n",
|
||||
params->cmdname);
|
||||
fprintf(stderr, "%s Can't add hashes to FIT blob: %d\n",
|
||||
params->cmdname, ret);
|
||||
goto err_system;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue