diff options
author | Rob Landley <rob@landley.net> | 2012-12-23 01:25:27 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-12-23 01:25:27 -0600 |
commit | a48e5792bb26f95c18055f58d602ac279ebd4002 (patch) | |
tree | 5519ec0a32b300f142358613edcef9bc2c24ea24 /toys/other/mdev.c | |
parent | a8f3bf04aee8f1c6716a420719af57cd6c5a7caa (diff) | |
download | toybox-a48e5792bb26f95c18055f58d602ac279ebd4002.tar.gz |
Elie De Brauwer pointed out that xputs() isn't reliably reporting errors because there's no flush. Rather than change the output granularity, flush before exit and check errors there. (We still need xputc() doing it so "yes" doesn't continue forever.)
Diffstat (limited to 'toys/other/mdev.c')
0 files changed, 0 insertions, 0 deletions