CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2015/08/29 14:48:55

Modified files:
        sys/kern       : subr_disk.c 

Log message:
In readgptlabel() the block offsets of the GPT header and GPT partition
entries within a disk sector are always 0. i.e. both must start on a
sector boundary. So stop calculating the offset value and adding it to
b_data when pulling data out of the buf.

Part of larger refactoring, eyed by jsing@, tested by bmercer@ as
part of that larger diff.

Reply via email to