2008-02-17 Robert Millan <rmh@aybabtu.com>

* util/i386/pc/grub-setup.c (setup): In find_first_partition_start(),
        set `first_start' to 0 for non-PC/MSDOS partition maps.
This commit is contained in:
robertmh 2008-02-17 10:32:02 +00:00
parent aca6350297
commit 32b0fc496b
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2008-02-17 Robert Millan <rmh@aybabtu.com>
* util/i386/pc/grub-setup.c (setup): In find_first_partition_start(),
set `first_start' to 0 for non-PC/MSDOS partition maps.
2008-02-16 Robert Millan <rmh@aybabtu.com>
* util/i386/pc/grub-setup.c (setup): In find_first_partition_start(),

View file

@ -130,10 +130,9 @@ setup (const char *prefix, const char *dir,
first_start = p->start;
}
else
{
if (first_start > p->start)
first_start = p->start;
}
/* In other partition maps, the region after MBR and before first
partition is not reserved (on GPT, it contains the primary header). */
first_start = 0;
return 0;
}