Skip to content
Commit d99127a6 authored by Sughosh Ganu's avatar Sughosh Ganu Committed by Tom Rini
Browse files

tools: mkfwumdata: fix the size parameter to the fwrite call



The fwrite call returns the number of bytes transferred as part of the
write only when the size parameter is 1. Pass the size parameter to
the library call as 1 so that the correct number of bytes transferred
are returned.

Fixes: fdd56bfd ("tools: Add mkfwumdata tool for FWU metadata image")
Signed-off-by: default avatarSughosh Ganu <sughosh.ganu@linaro.org>
Tested-by: default avatarMichal Simek <michal.simek@amd.com>
parent f4cac999
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment