Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2001 19:39:57 -0800 (PST)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/disklabel disklabel.c
Message-ID:  <200103050339.f253dwE07153@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




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