Forked from
IOPSYS / IOWRT
Source project has a limited visibility.
-
Mathias Kresin authored
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>
Mathias Kresin authoredfread() 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>