Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2003 22:24:49 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libdisk open_ia64_disk.c
Message-ID:  <200311030624.hA36OnBC091901@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2003/11/02 22:24:49 PST

  FreeBSD src repository

  Modified files:
    lib/libdisk          open_ia64_disk.c 
  Log:
  Fix two bugs in the calculation of the last LBA of the GPT covered
  part of the disk. The first appears to be a typo and instead of
  dividing the media size with the sector size, we multiplied. The
  second is an off-by-1 error that's the result of mixing up count
  and index. The code in question is only applicable for virgin disks
  and is used to create the "whole" chunk, which covers only the GPT
  usable portion of the disk.
  
  Revision  Changes    Path
  1.2       +2 -2      src/lib/libdisk/open_ia64_disk.c



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