stand/common/disk.c: dev->d_offset still needs to be set to 0
With r335868, I thought this was no longer necessary. I was wrong. Reported by: ian Sponsored by: Klara Systems
This commit is contained in:
parent
44fd76e10c
commit
436dbc4262
@ -244,6 +244,7 @@ disk_open(struct disk_devdesc *dev, uint64_t mediasize, u_int sectorsize)
|
||||
partdev.d_slice = -1;
|
||||
partdev.d_partition = -1;
|
||||
|
||||
dev->d_offset = 0;
|
||||
table = NULL;
|
||||
slice = dev->d_slice;
|
||||
partition = dev->d_partition;
|
||||
|
Loading…
Reference in New Issue
Block a user