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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to