cvs commit: src/sbin/fsck fsutil.h

Andrey Chernov ache at nagual.pp.ru
Sat Dec 27 06:02:27 PST 2003


On Sat, Dec 27, 2003 at 05:54:03AM -0800, Bruce Evans wrote:
>   Declare perror().  We define and use a home made version of perror(3)
>   that can't simply be removed (although it has the same interface as
>   perror(3)) since it is very different (it prints on stdout, doesn't
>   always print the program name, and sometimes exits).  Declare it to
>   get a reminder of this brokenness when WARNS is increased enough.

If it is called from fsck only, maybe better way is to rename it to 
something like my_perror()?

-- 
Andrey Chernov | http://ache.pp.ru/


More information about the cvs-src mailing list