Show pass1 SIGINFO output on stderr like other passes, not on stdout.

This commit is contained in:
riastradh 2013-01-06 22:06:00 +00:00
parent 67fcfbd462
commit ac9a343544

View File

@ -1,4 +1,4 @@
/* $NetBSD: pass1.c,v 1.49 2011/08/14 12:32:01 christos Exp $ */
/* $NetBSD: pass1.c,v 1.50 2013/01/06 22:06:00 riastradh Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pass1.c 8.6 (Berkeley) 4/28/95";
#else
__RCSID("$NetBSD: pass1.c,v 1.49 2011/08/14 12:32:01 christos Exp $");
__RCSID("$NetBSD: pass1.c,v 1.50 2013/01/06 22:06:00 riastradh Exp $");
#endif
#endif /* not lint */
@ -109,7 +109,8 @@ pass1(void)
else
inosused = sblock->fs_ipg;
if (got_siginfo) {
printf("%s: phase 1: cyl group %d of %d (%d%%)\n",
fprintf(stderr,
"%s: phase 1: cyl group %d of %d (%d%%)\n",
cdevname(), c, sblock->fs_ncg,
c * 100 / sblock->fs_ncg);
got_siginfo = 0;