Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2003 17:02:14 +0300
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Bruce Evans <bde@FreeBSD.ORG>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sbin/fsck fsutil.h
Message-ID:  <20031227140214.GA61469@nagual.pp.ru>
In-Reply-To: <200312271354.hBRDs3CN092828@repoman.freebsd.org>
References:  <200312271354.hBRDs3CN092828@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



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