Commit 0d0911a3 authored by Marek Vasut's avatar Marek Vasut
Browse files

mxssb: Always close the output filename

Make sure the output filename is closed when generating the SB image.
This patch fixes an oversight that got in during the rework.
Signed-off-by: Marek Vasut's avatarMarek Vasut <>
parent cca1aa01
......@@ -410,6 +410,7 @@ static int sb_write_image(struct sb_image_ctx *ictx)
if (ret != sizeof(ictx->digest))
goto err;
return 0;
fprintf(stderr, "Failed to write output file!\n");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment