diff options
author | Jan Vangorp <jan.vangorp_ext@softathome.com> | 2016-06-09 00:00:49 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-12 11:44:45 +0200 |
commit | 96f2821683ec41a28b5aa6ec92245e47dfee989b (patch) | |
tree | 807f48ec85a5f2f02ac09146e89dfd831eb90339 /libc/inet/getproto.c | |
parent | 568ceebf6adfc58c64a95133311268db626cdec2 (diff) |
Fix return value of fwrite when a 'hard' error occurs
When a 'hard' error occurs, fwrite reports that all data was written or
buffered even if that is not the case. It should report how much data
was actually written and buffered.
Signed-off-by: Jan Vangorp <jan.vangorp_ext@softathome.com>
Diffstat (limited to 'libc/inet/getproto.c')
0 files changed, 0 insertions, 0 deletions