Module Name: src Committed By: bouyer Date: Sun Jan 13 16:54:39 UTC 2013
Modified Files: src/sbin/fsck_ffs [netbsd-5]: pass1.c Log Message: Pull up following revision(s) (requested by riastradh in ticket #1837): sbin/fsck_ffs/pass1.c: revision 1.50 Show pass1 SIGINFO output on stderr like other passes, not on stdout. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.46.2.1 src/sbin/fsck_ffs/pass1.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/fsck_ffs/pass1.c diff -u src/sbin/fsck_ffs/pass1.c:1.46 src/sbin/fsck_ffs/pass1.c:1.46.2.1 --- src/sbin/fsck_ffs/pass1.c:1.46 Sun Oct 12 23:26:12 2008 +++ src/sbin/fsck_ffs/pass1.c Sun Jan 13 16:54:39 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: pass1.c,v 1.46 2008/10/12 23:26:12 christos Exp $ */ +/* $NetBSD: pass1.c,v 1.46.2.1 2013/01/13 16:54:39 bouyer 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.46 2008/10/12 23:26:12 christos Exp $"); +__RCSID("$NetBSD: pass1.c,v 1.46.2.1 2013/01/13 16:54:39 bouyer 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;