mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
Fix minix issue
This commit is contained in:
1 parent
7051df3609
commit
f256469360
1 file changed
+1
-1
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user