Use a disk address instead of an int to hold the starting offset of an
open partition. This fixes access to partitions whose starting offset is >= 2 TB. Submitted by: "James R. Van Artsdalen" james jrv.org MFC after: 3 days
This commit is contained in:
parent
7bada89aea
commit
ba06a4b03e
@ -83,7 +83,7 @@ struct open_disk {
|
||||
int od_cyl; /* BIOS geometry */
|
||||
int od_hds;
|
||||
int od_sec;
|
||||
int od_boff; /* block offset from beginning of BIOS disk */
|
||||
daddr_t od_boff; /* block offset from beginning of BIOS disk */
|
||||
int od_flags;
|
||||
#define BD_MODEINT13 0x0000
|
||||
#define BD_MODEEDD1 0x0001
|
||||
|
Loading…
Reference in New Issue
Block a user