diff options
author | marcel <marcel@FreeBSD.org> | 2004-11-12 04:34:46 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-11-12 04:34:46 +0000 |
commit | 3dc93f0071f529bc54cdd1677206626cabaaa3c7 (patch) | |
tree | f0934159aa703ebdf3c01f9fe2b9a4d7255cea07 /sbin/gpt/add.c | |
parent | 1db017cf8c8ba08c9818c167cdb032b4658f75cb (diff) | |
download | FreeBSD-src-3dc93f0071f529bc54cdd1677206626cabaaa3c7.zip FreeBSD-src-3dc93f0071f529bc54cdd1677206626cabaaa3c7.tar.gz |
Fix a braino: the partition size in the PMBR is in sectors, not bytes
and 'mediasz' is in bytes. As it so happens, we define 'last' as the
sector number of the last sector on the medium which also is the size
of the PMBR partition. Therefore, use 'last' instead of 'mediasz'.
Submitted by: Dan Markarian <markarian at apple dot com>
Diffstat (limited to 'sbin/gpt/add.c')
0 files changed, 0 insertions, 0 deletions