From owner-cvs-all@FreeBSD.ORG Sat Dec 27 06:02:27 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2368316A4CE; Sat, 27 Dec 2003 06:02:27 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id CADA843D5F; Sat, 27 Dec 2003 06:02:15 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.10/8.12.10) with ESMTP id hBRE2Ehg061517; Sat, 27 Dec 2003 17:02:14 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.10/8.12.10/Submit) id hBRE2Ehh061516; Sat, 27 Dec 2003 17:02:14 +0300 (MSK) (envelope-from ache) Date: Sat, 27 Dec 2003 17:02:14 +0300 From: Andrey Chernov To: Bruce Evans Message-ID: <20031227140214.GA61469@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200312271354.hBRDs3CN092828@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312271354.hBRDs3CN092828@repoman.freebsd.org> User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/fsck fsutil.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2003 14:02:27 -0000 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/