Fix minix issue
This commit is contained in:
parent
7051df3609
commit
f256469360
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ pc_partition_map_iterate (grub_disk_t disk,
|
||||||
if (disk->partition && disk->partition->partmap == &grub_msdos_partition_map)
|
if (disk->partition && disk->partition->partmap == &grub_msdos_partition_map)
|
||||||
{
|
{
|
||||||
if (disk->partition->msdostype == GRUB_PC_PARTITION_TYPE_LINUX_MINIX)
|
if (disk->partition->msdostype == GRUB_PC_PARTITION_TYPE_LINUX_MINIX)
|
||||||
delta = disk->partition->offset;
|
delta = disk->partition->start;
|
||||||
else
|
else
|
||||||
return grub_error (GRUB_ERR_BAD_PART_TABLE, "no embedding supported");
|
return grub_error (GRUB_ERR_BAD_PART_TABLE, "no embedding supported");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue