mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 01:29:27 +00:00
Call open_partition() even for MBR, so that part_start is correct.
This fixes a bug reported by Matthias Granberry <matthias@slurpee.org>.
This commit is contained in:
1 parent
00deed40cc
commit
71840f80e9
2 files changed
+10
No files matched your search
@@ -971,6 +971,10 @@ embed_func (char *arg, int flags)
|
||||
char mbr[SECTOR_SIZE];
|
||||
char ezbios_check[2*SECTOR_SIZE];
|
||||
|
||||
/* Open the partition. */
|
||||
if (! open_partition ())
|
||||
return 1;
|
||||
|
||||
/* No floppy has MBR. */
|
||||
if (! (current_drive & 0x80))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user