From owner-cvs-all@FreeBSD.ORG Sat Dec 27 05:08:56 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 2E5F016A4CE; Sat, 27 Dec 2003 05:08:56 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6865543D46; Sat, 27 Dec 2003 05:08:55 -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 hBRD8t0B082538; Sat, 27 Dec 2003 05:08:55 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBRD8tCf082537; Sat, 27 Dec 2003 05:08:55 -0800 (PST) (envelope-from bde) Message-Id: <200312271308.hBRD8tCf082537@repoman.freebsd.org> From: Bruce Evans Date: Sat, 27 Dec 2003 05:08:55 -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.c fsutil.h src/sbin/fsck_msdosfs main.c 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:08:56 -0000 bde 2003/12/27 05:08:55 PST FreeBSD src repository Modified files: sbin/fsck fsutil.c fsutil.h sbin/fsck_msdosfs main.c Log: fsck_msdosfs/main.c: - Don't use errexit() to (mis)implement usage(). Using errexit() just gave the bogus exit code 8. - Fixed 3 other style bugs in usage(). fsck/fsutil.[ch]: - Garbage-collected errexit(). It is essentially just one of NetBSD's fsck_ext2fs error printing functions, but we don't have fsck_ext2fs and the function is unsuitable for use there too (since pfatal() is also used and it printf to a different stream). Revision Changes Path 1.6 +0 -12 src/sbin/fsck/fsutil.c 1.6 +0 -2 src/sbin/fsck/fsutil.h 1.12 +4 -2 src/sbin/fsck_msdosfs/main.c