]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk, fdisk: add fflush()
authorKarel Zak <kzak@redhat.com>
Thu, 10 Mar 2016 11:26:43 +0000 (12:26 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 10 Mar 2016 11:26:43 +0000 (12:26 +0100)
commit95aae4fcee79958f56c77b934fcbb048ae25f6fb
tree3ed4022a8747a8165ba3e48788c57f36bc244520
parentc59409b945bc2fcadf32c75855f432a2fec24683
sfdisk, fdisk: add fflush()

Let's add fflush(stdout) before we print to stderr to make output
order more deterministic.

Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk.c
disk-utils/sfdisk.c
tests/expected/sfdisk/dos-explicit-size
tests/expected/sfdisk/dos-read-dump
tests/expected/sfdisk/gpt-list-pmbr