Forked from
Reform / reform-boundary-uboot
4707 commits behind the upstream repository.
Michal Simek
authored
Check all return values from file functions.
In case of negative return exit immediately.
Also change fsize return value which can't be negative.
Reported-by: Coverity (CID: 23276, 23304, 169357)
Signed-off-by:
Michal Simek <michal.simek@xilinx.com>