From owner-cvs-all@FreeBSD.ORG Sat Dec 27 05:54:04 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 15F8F16A4CE; Sat, 27 Dec 2003 05:54:04 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CAEE43D1F; Sat, 27 Dec 2003 05:54:03 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBRDs30B092829; Sat, 27 Dec 2003 05:54:03 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBRDs3CN092828; Sat, 27 Dec 2003 05:54:03 -0800 (PST) (envelope-from bde) Message-Id: <200312271354.hBRDs3CN092828@repoman.freebsd.org> From: Bruce Evans Date: Sat, 27 Dec 2003 05:54:03 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: 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 13:54:04 -0000 bde 2003/12/27 05:54:03 PST FreeBSD src repository Modified files: sbin/fsck fsutil.h Log: Use __printflike() and __dead2 instead of hard-coded gccisms. 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. Revision Changes Path 1.8 +4 -6 src/sbin/fsck/fsutil.h