From owner-cvs-sbin Sat Dec 20 13:40:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA16200 for cvs-sbin-outgoing; Sat, 20 Dec 1997 13:40:37 -0800 (PST) (envelope-from owner-cvs-sbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA16173; Sat, 20 Dec 1997 13:40:11 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id NAA00550; Sat, 20 Dec 1997 13:36:59 -0800 (PST) Date: Sat, 20 Dec 1997 13:36:59 -0800 (PST) Message-Id: <199712202136.NAA00550@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/fsck main.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/20 13:36:59 PST Modified files: sbin/fsck main.c Log: Don't attempt to print the statistics for a "clean" preened filesystem when there isn't even a filesystem. Attempting to print them tended to cause SIGSEGV or SIGFPE depending on how far setup() got before it returned 0. This was broken in the previous revision by removing a return statement that the previous case depended on falling into. PR: 4840 (fixed by this commit) PR: 2537 (possibly fixed by Lite2 merge and later changes. setup() does more checking now) Revision Changes Path 1.11 +1 -1 src/sbin/fsck/main.c