summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-05-02 07:45:39 +0000
committerdg <dg@FreeBSD.org>1995-05-02 07:45:39 +0000
commitc68af9669e0223f4754c2b910ca42b1eb8868205 (patch)
tree8e331ad86432f94a87b907a011da971883d53491 /sbin
parent9d38a0cdbe3b62053c782bc7e3d61741040ae4d7 (diff)
downloadFreeBSD-src-c68af9669e0223f4754c2b910ca42b1eb8868205.zip
FreeBSD-src-c68af9669e0223f4754c2b910ca42b1eb8868205.tar.gz
Flush stdout when writing out each superblock backup.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/newfs/mkfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c
index 062a82d..89f86f5 100644
--- a/sbin/newfs/mkfs.c
+++ b/sbin/newfs/mkfs.c
@@ -627,6 +627,7 @@ next:
if (cylno % 9 == 0)
printf("\n");
printf(" %d,", fsbtodb(&sblock, cgsblock(&sblock, cylno)));
+ fflush(stdout);
}
if (!mfs)
printf("\n");
OpenPOWER on IntegriCloud