diff options
| author | jtc <jtc@NetBSD.org> | 1995-05-06 06:55:34 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1995-05-06 06:55:34 +0000 |
| commit | 2d709c706244a91db7d5b42e548f3be2b1d5d1e9 (patch) | |
| tree | 02855e118a7b3261af9d498283573ecb24df6dc2 | |
| parent | f96b90209c00de104da3be3b7aa4cbe697dafc10 (diff) | |
flush stdout instead of stderr, so that each block number is displayed
as it is printed. From PR 989.
| -rw-r--r-- | sbin/newfs/mkfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c index 7f469114e67..bf26738fa06 100644 --- a/sbin/newfs/mkfs.c +++ b/sbin/newfs/mkfs.c @@ -1,4 +1,4 @@ -/* $NetBSD: mkfs.c,v 1.21 1995/04/12 21:24:31 mycroft Exp $ */ +/* $NetBSD: mkfs.c,v 1.22 1995/05/06 06:55:34 jtc Exp $ */ /* * Copyright (c) 1980, 1989, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)mkfs.c 8.3 (Berkeley) 2/3/94"; #else -static char rcsid[] = "$NetBSD: mkfs.c,v 1.21 1995/04/12 21:24:31 mycroft Exp $"; +static char rcsid[] = "$NetBSD: mkfs.c,v 1.22 1995/05/06 06:55:34 jtc Exp $"; #endif #endif /* not lint */ @@ -599,7 +599,7 @@ next: if (cylno % 8 == 0) printf("\n"); printf(" %d,", fsbtodb(&sblock, cgsblock(&sblock, cylno))); - fflush(stderr); + fflush(stdout); } if (!mfs) printf("\n"); |
