mirror of
https://github.com/u-boot/u-boot.git
synced 2025-01-22 18:54:08 +08: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
@ -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 New Issue
Block a user