From owner-svn-src-stable@FreeBSD.ORG Thu Dec 6 19:35:54 2012 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B234C74; Thu, 6 Dec 2012 19:35:54 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from gw02.mail.saunalahti.fi (gw02.mail.saunalahti.fi [195.197.172.116]) by mx1.freebsd.org (Postfix) with ESMTP id C83D18FC15; Thu, 6 Dec 2012 19:35:53 +0000 (UTC) Received: from a91-153-116-96.elisa-laajakaista.fi (a91-153-116-96.elisa-laajakaista.fi [91.153.116.96]) by gw02.mail.saunalahti.fi (Postfix) with SMTP id 4386C139741; Thu, 6 Dec 2012 21:35:44 +0200 (EET) Date: Thu, 6 Dec 2012 21:35:43 +0200 From: Jaakko Heinonen To: Alfred Perlstein Subject: Re: svn commit: r243942 - stable/9/sbin/fsck_msdosfs Message-ID: <20121206193543.GB2182@a91-153-116-96.elisa-laajakaista.fi> References: <201212060835.qB68ZkGe099714@svn.freebsd.org> <50C0CF44.6040802@mu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50C0CF44.6040802@mu.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Garrett Cooper , svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 19:35:54 -0000 On 2012-12-06, Alfred Perlstein wrote: > I think perror writes to STDERR, printf to STDOUT. (am I wrong?) perror(3) prints on stderr. However fsck uses its own perror() (renamed to perr() in head) which prints on stdout. > You might better use warn()? Using warn(3) here wouldn't be correct. For additional details, please see the following mail: http://lists.freebsd.org/pipermail/svn-src-all/2012-November/060990.html -- Jaakko