Fix minix issue

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-09-08 21:03:23 +02:00
parent 7051df3609
commit f256469360

View file

@ -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");
} }