mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user