summaryrefslogtreecommitdiff
path: root/configs/ls1021atwr_sdcard_qspi_defconfig
diff options
context:
space:
mode:
authorAlexander Dahl <ada@thorsis.com>2018-04-20 15:29:30 +0200
committerTom Rini <trini@konsulko.com>2018-04-28 18:32:24 -0400
commit3559028cb2840cc283652f4b7e4e1b457e6ec6a5 (patch)
tree51b991b8fd3be1921711e191b2217ebd254af3df /configs/ls1021atwr_sdcard_qspi_defconfig
parent8dc4e1fbf439d63082419640b6e797dfdfcc4720 (diff)
tools: mkenvimage: Fix read() stdin error handling
On success read() returns the number of bytes read or zero for EOF. On error -1 is returned and errno is set, so the right way to test if read had failed is to test the return value instead of errno. Signed-off-by: Alexander Dahl <ada@thorsis.com>
Diffstat (limited to 'configs/ls1021atwr_sdcard_qspi_defconfig')
0 files changed, 0 insertions, 0 deletions