flush stdout instead of stderr, so that each block number is displayed
as it is printed. From PR 989.
This commit is contained in:
parent
f96b90209c
commit
2d709c7062
@ -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
|
* Copyright (c) 1980, 1989, 1993
|
||||||
@ -37,7 +37,7 @@
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)mkfs.c 8.3 (Berkeley) 2/3/94";
|
static char sccsid[] = "@(#)mkfs.c 8.3 (Berkeley) 2/3/94";
|
||||||
#else
|
#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
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
@ -599,7 +599,7 @@ next:
|
|||||||
if (cylno % 8 == 0)
|
if (cylno % 8 == 0)
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" %d,", fsbtodb(&sblock, cgsblock(&sblock, cylno)));
|
printf(" %d,", fsbtodb(&sblock, cgsblock(&sblock, cylno)));
|
||||||
fflush(stderr);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
if (!mfs)
|
if (!mfs)
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user