libbb/xwrite: print errno on "short write" errors
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 5 Sep 2016 13:20:10 +0000 (15:20 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 5 Sep 2016 13:20:10 +0000 (15:20 +0200)
commit9fd61be191caf78138a50e9d6a465b39318f91c3
treeafb9f5f8874dda32d984496ba433b95d03b5ce18
parent76787a7e025fb4a8b83e29b2fbfdca8d5bd492b9
libbb/xwrite: print errno on "short write" errors

Lauri Kasanen:
:: Over at TinyCore, we receive a huge number of questions of the type "I
:: got "short write", what does it mean?". Mostly for the rpi port and when
:: using bb wget.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/xfuncs_printf.c