diff options
author | Mathias Kresin <dev@kresin.me> | 2019-01-05 07:40:55 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2019-01-13 18:31:10 +0100 |
commit | 0e78af22d95d91f7c2fdfc66fac993c6c5d349d8 (patch) | |
tree | 64f827000c8d815e44291ec69f46e5a6af9faaef /tools/pkg-config/files | |
parent | e428b127e7c9964a20cfd4cfb30b43262a10bfbe (diff) | |
download | upstream-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 'tools/pkg-config/files')
0 files changed, 0 insertions, 0 deletions