Please sign in to comment.
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 <email@example.com>
- Loading branch information...
Showing with 3 additions and 3 deletions.