Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sbin/fsck_ffs Pull up following revision(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/cdc2a7454751
branches:  netbsd-6
changeset: 775621:cdc2a7454751
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Jan 13 18:55:37 2013 +0000

description:
Pull up following revision(s) (requested by riastradh in ticket #779):
        sbin/fsck_ffs/pass1.c: revision 1.50
Show pass1 SIGINFO output on stderr like other passes, not on stdout.

diffstat:

 sbin/fsck_ffs/pass1.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 6d33ff2984ef -r cdc2a7454751 sbin/fsck_ffs/pass1.c
--- a/sbin/fsck_ffs/pass1.c     Tue Jan 08 07:07:33 2013 +0000
+++ b/sbin/fsck_ffs/pass1.c     Sun Jan 13 18:55:37 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pass1.c,v 1.49 2011/08/14 12:32:01 christos Exp $      */
+/*     $NetBSD: pass1.c,v 1.49.4.1 2013/01/13 18:55:37 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.49 2011/08/14 12:32:01 christos Exp $");
+__RCSID("$NetBSD: pass1.c,v 1.49.4.1 2013/01/13 18:55:37 bouyer Exp $");
 #endif
 #endif /* not lint */
 
@@ -109,7 +109,8 @@
                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;



Home | Main Index | Thread Index | Old Index