From owner-cvs-sys Sat Apr 19 07:14:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA18004 for cvs-sys-outgoing; Sat, 19 Apr 1997 07:14:23 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA17997; Sat, 19 Apr 1997 07:14:20 -0700 (PDT) Date: Sat, 19 Apr 1997 07:14:20 -0700 (PDT) From: Bruce Evans Message-Id: <199704191414.HAA17997@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa diskslice_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/19 07:14:18 Modified: sys/i386/isa diskslice_machdep.c Log: Avoid division by 0 in check_part(). (It occurred when max_nsectors == 0. This case is clearly an error, but we keep calling check_part() to get diagnostics.) Fixed nearby indentation and commenting bugs. Revision Changes Path 1.25 +11 -8 src/sys/i386/isa/diskslice_machdep.c