Files
u-boot/tools
Alexander Dahl 3559028cb2 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>
2018-04-28 18:32:24 -04:00
..
2016-05-02 18:37:09 -04:00
2016-05-02 18:37:09 -04:00
2016-11-23 23:41:23 -08:00
2018-03-30 12:52:48 +02:00
2016-02-21 11:09:19 +01:00
2009-04-28 01:16:46 +02:00
2018-01-12 08:05:12 -05:00
2018-01-12 08:05:12 -05:00
2015-11-16 17:22:18 -05:00