Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Mar 2001 20:41:04 -0700
From:      Warner Losh <imp@harmony.village.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/disklabel disklabel.c 
Message-ID:  <200103050341.f253f4d68670@harmony.village.org>
In-Reply-To: Your message of "Sun, 04 Mar 2001 19:39:57 PST." <200103050339.f253dwE07153@freefall.freebsd.org> 
References:  <200103050339.f253dwE07153@freefall.freebsd.org>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200103050339.f253dwE07153@freefall.freebsd.org> Warner Losh writes:
: 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.

This is a good candidate for MFC, asap.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103050341.f253f4d68670>