mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 09:39:22 +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
@@ -1,3 +1,9 @@
|
||||
2001-01-04 Jochen Hoenicke <jochen@gnu.org>
|
||||
|
||||
* stage2/builtins.c (embed_func): Call open_partition() even for
|
||||
MBR, so that part_start is correct. This fixes a bug reported by
|
||||
Matthias Granberry <matthias@slurpee.org>.
|
||||
|
||||
2000-12-22 OKUJI Yoshinori <okuji@gnu.org>
|
||||
|
||||
* stage2/disk_io.c (make_saved_active): Change the variable name
|
||||
|
||||
@@ -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