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:
parent
00deed40cc
commit
71840f80e9
2 changed files with 10 additions and 0 deletions
|
@ -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>
|
2000-12-22 OKUJI Yoshinori <okuji@gnu.org>
|
||||||
|
|
||||||
* stage2/disk_io.c (make_saved_active): Change the variable name
|
* 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 mbr[SECTOR_SIZE];
|
||||||
char ezbios_check[2*SECTOR_SIZE];
|
char ezbios_check[2*SECTOR_SIZE];
|
||||||
|
|
||||||
|
/* Open the partition. */
|
||||||
|
if (! open_partition ())
|
||||||
|
return 1;
|
||||||
|
|
||||||
/* No floppy has MBR. */
|
/* No floppy has MBR. */
|
||||||
if (! (current_drive & 0x80))
|
if (! (current_drive & 0x80))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue