From owner-cvs-all Sat Jul 3 14:14:51 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 01B5015001; Sat, 3 Jul 1999 14:14:47 -0700 (PDT) (envelope-from mjacob@FreeBSD.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA69073; Sat, 3 Jul 1999 14:14:47 -0700 (PDT) (envelope-from mjacob@FreeBSD.org) Message-Id: <199907032114.OAA69073@freefall.freebsd.org> From: Matt Jacob Date: Sat, 3 Jul 1999 14:14:47 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam/scsi scsi_da.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk mjacob 1999/07/03 14:14:47 PDT Modified files: sys/cam/scsi scsi_da.c Log: Make the change similar to that suggested by Nick Hibma to avoid divide by zero traps. I actually can't believe that this compiler is *sooooo* stupid that it did a divide when there was 1024L*1024L instead of a right shift by 20. When we get quad type modifiers in kernel printf we can change to this too (to avoid overflow on > terabyte disk sizes). Revision Changes Path 1.28 +4 -3 src/sys/cam/scsi/scsi_da.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message