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:
jochen committed 2001-01-04 13:38:24 +00:00
1 parent 00deed40cc
commit 71840f80e9
2 files changed
+10

No files matched your search

+4
View File
@@ -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))
{