From owner-freebsd-current@FreeBSD.ORG Tue Mar 30 11:29:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD38416A4CF for ; Tue, 30 Mar 2004 11:29:04 -0800 (PST) Received: from ns1.interbgc.com (mail.interbgc.com [217.9.224.3]) by mx1.FreeBSD.org (Postfix) with SMTP id A9F7B43D1D for ; Tue, 30 Mar 2004 11:29:03 -0800 (PST) (envelope-from nike_d@cytexbg.com) Received: (qmail 9782 invoked from network); 30 Mar 2004 19:29:01 -0000 Received: from nike_d@cytexbg.com by keeper.interbgc.com by uid 1002 with qmail-scanner-1.14 (uvscan: v4.1.60/v4335. spamassassin: 2.63. Clear:SA:0(-4.9/8.0):. Processed in 0.396673 secs); 30 Mar 2004 19:29:01 -0000 X-Spam-Status: No, hits=-4.9 required=8.0 Received: from 213-240-206-214.ddns.cablebg.net (HELO tormentor.totalterror.net) (213.240.206.214) by mail.interbgc.com with SMTP; 30 Mar 2004 19:29:00 -0000 Received: (qmail 66636 invoked by uid 1006); 30 Mar 2004 19:29:24 -0000 Received: from nike_d@cytexbg.com by tormentor.cytexbg.com by uid 1003 with qmail-scanner-1.15 (sweep: 2.14/3.62. Clear:. Processed in 2.787527 secs); 30 Mar 2004 19:29:24 -0000 Received: from unknown (HELO phobos.totalterror.net) (10.0.0.6) by tormentor.totalterror.net with SMTP; 30 Mar 2004 19:29:21 -0000 Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Niki Denev To: freebsd-current@freebsd.org Date: Tue, 30 Mar 2004 21:28:32 +0300 Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=_mimegpg-phobos.totalterror.net-963-1080671312-0001"; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Small typo in the setproctitle() output in sbin/fsck_ffs/pass5.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 19:29:05 -0000 This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. --=_mimegpg-phobos.totalterror.net-963-1080671312-0001 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit As i was continuing my struggle to see what's wrong with the ACPI support on my new ThinkPad X31, i was forced to do many reboots, and unfortunately some of them unclean. And as i was watching the 'ps' output for the progress indicator for the backgrounds fsck, at the moment that the fsck program entered p5 (pass5) there was "\n" appended to the proctitle output, immediately after the percent sign. I suppose this little patch will fix this, but i don't know if it is appropriate for a PR to be filed about such minor problem? P.S.: I'm running -CURRENT as of yesterday. ---------------------------------------------------------------- --- src/sbin/fsck_ffs/pass5.c.orig Tue Mar 30 21:02:22 2004 +++ src/sbin/fsck_ffs/pass5.c Tue Mar 30 21:02:40 2004 @@ -158,7 +158,7 @@ got_siginfo = 0; } if (got_sigalarm) { - setproctitle("%s p5 %d%%\n", cdevname, + setproctitle("%s p5 %d%%", cdevname, c * 100 / sblock.fs_ncg); got_sigalarm = 0; } ------------------------------------------------------------------- -- Regards, Niki Denev --=_mimegpg-phobos.totalterror.net-963-1080671312-0001 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAabxQHNAJ/fLbfrkRAllYAJsE/hQiJa25vFbJQgOGmYACczIqYQCdFddo 17F5+UIZNqmJ18pyXxnw/s4= =WXvR -----END PGP SIGNATURE----- --=_mimegpg-phobos.totalterror.net-963-1080671312-0001--