summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2022-01-12 18:20:42 +0100
committerStefan Roese <[email protected]>2022-01-14 11:39:16 +0100
commit252e7c3a24fefdf88dfa3fff87e8dc4d0c7aa9cc (patch)
treece3460bd3dc00f7457d273869b5a54c06c3ed302 /scripts/cleanpatch
parent0aca27ea185188a50292dd5bcec07fef020d10e6 (diff)
tools: kwbimage: Check the return value of image_headersz_v1()
Function image_headersz_v1() may return zero on fatal errors. In this case the function already printed an error message. Check the return value of image_headersz_v1() in kwbimage_generate(), and exit on zero value with EXIT_FAILURE. Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Marek Behún <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions