Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Dec 2012 14:50:43 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        Jaakko Heinonen <jh@FreeBSD.org>
Cc:        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:  <50C12143.3020505@mu.org>
In-Reply-To: <20121206193543.GB2182@a91-153-116-96.elisa-laajakaista.fi>
References:  <201212060835.qB68ZkGe099714@svn.freebsd.org> <50C0CF44.6040802@mu.org> <20121206193543.GB2182@a91-153-116-96.elisa-laajakaista.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/6/12 11:35 AM, Jaakko Heinonen wrote:
> 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.
heh, ouch.

>
>> 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
>
ok thank you.

-Alfred



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