Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 21:35:43 +0200
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        Alfred Perlstein <bright@mu.org>
Cc:        Garrett Cooper <yanegomi@gmail.com>, svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   Re: svn commit: r243942 - stable/9/sbin/fsck_msdosfs
Message-ID:  <20121206193543.GB2182@a91-153-116-96.elisa-laajakaista.fi>
In-Reply-To: <50C0CF44.6040802@mu.org>
References:  <201212060835.qB68ZkGe099714@svn.freebsd.org> <50C0CF44.6040802@mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121206193543.GB2182>