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

Jaakko Heinonen jh at FreeBSD.org
Thu Dec 6 19:35:54 UTC 2012


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


More information about the svn-src-all mailing list