diff options
author | Stanislav Brabec | 2019-06-20 22:16:42 +0200 |
---|---|---|
committer | Karel Zak | 2019-06-21 14:38:32 +0200 |
commit | b0853a08dba1163613069ba24cb09cc2f0282d98 (patch) | |
tree | f6bb56eac354a986cec96af245ba28e8e2f41860 /sys-utils | |
parent | libfdisk: fix typos (diff) | |
download | kernel-qcow2-util-linux-b0853a08dba1163613069ba24cb09cc2f0282d98.tar.gz kernel-qcow2-util-linux-b0853a08dba1163613069ba24cb09cc2f0282d98.tar.xz kernel-qcow2-util-linux-b0853a08dba1163613069ba24cb09cc2f0282d98.zip |
agetty: Remove superfluous fflush()
eval_issue_file() contains fflush(stdout). It comes from an old code that
used fputs() to write to the console.
In the new code, we write to a temporary memstream, and
fclose(ie->output) fully replaces possible fflush(ie->output) in this
implementation.
The new print_issue_file() does not need it as well, as it uses
unbuffered write_all().
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Diffstat (limited to 'sys-utils')
0 files changed, 0 insertions, 0 deletions