From owner-cvs-all Sun Mar 4 19:40: 1 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5E99637B719; Sun, 4 Mar 2001 19:39:58 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f253dwE07153; Sun, 4 Mar 2001 19:39:58 -0800 (PST) (envelope-from imp) Message-Id: <200103050339.f253dwE07153@freefall.freebsd.org> From: Warner Losh Date: Sun, 4 Mar 2001 19:39:57 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/disklabel disklabel.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG imp 2001/03/04 19:39:57 PST Modified files: sbin/disklabel disklabel.c Log: First attempt to not overflow in disk space calculations. Use off_t for the size variable used to calculate the size of the partition. Also use ULL suffix for constants to ensure that we use 64 bit math. Revision Changes Path 1.36 +6 -6 src/sbin/disklabel/disklabel.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message