svn commit: r243942 - stable/9/sbin/fsck_msdosfs

Alfred Perlstein bright at mu.org
Thu Dec 6 22:50:43 UTC 2012


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


More information about the svn-src-all mailing list