cvs commit: src/lib/libdisk open_ia64_disk.c
Marcel Moolenaar
marcel at FreeBSD.org
Sun Nov 2 22:24:50 PST 2003
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
More information about the cvs-src
mailing list