aboutsummaryrefslogtreecommitdiffstats
path: root/include/image-commands.mk
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2019-01-05 07:40:55 +0100
committerMathias Kresin <dev@kresin.me>2019-01-13 18:31:10 +0100
commit0e78af22d95d91f7c2fdfc66fac993c6c5d349d8 (patch)
tree64f827000c8d815e44291ec69f46e5a6af9faaef /include/image-commands.mk
parente428b127e7c9964a20cfd4cfb30b43262a10bfbe (diff)
downloadupstream-0e78af22d95d91f7c2fdfc66fac993c6c5d349d8.tar.gz
upstream-0e78af22d95d91f7c2fdfc66fac993c6c5d349d8.tar.bz2
upstream-0e78af22d95d91f7c2fdfc66fac993c6c5d349d8.zip
firmware-utils: mkdlinkfw: fix error handling
fread() doesn't set errno, ferror need to be used to check for errors. While at it, check if we read the expect number of elements. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'include/image-commands.mk')
0 files changed, 0 insertions, 0 deletions