mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
Fix Jeff Sheinberg's wraparound problem.
This commit is contained in:
1 parent
90ed71c809
commit
8d793b9a7e
3 files changed
+4
-3
No files matched your search
@@ -468,6 +468,8 @@ returnit:
|
||||
no_decompression = 0;
|
||||
#endif
|
||||
}
|
||||
fallback = -1;
|
||||
return 1;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else if (substring("testload", cur_heap) < 1)
|
||||
|
||||
@@ -86,7 +86,6 @@ rawread (int drive, int sector, int byte_offset, int byte_len, int addr)
|
||||
if (buf_drive != drive)
|
||||
{
|
||||
buf_geom = get_diskinfo (drive);
|
||||
printf ("buf_geom = 0x%x\n", buf_geom); /* FIXME */
|
||||
buf_drive = drive;
|
||||
buf_track = -1;
|
||||
}
|
||||
|
||||
+2
-2
@@ -448,8 +448,8 @@ restart:
|
||||
while (!c);
|
||||
|
||||
/* Both the entry and the fallback failed, so wait for input. */
|
||||
printf("Failed!\n Press any key to continue...");
|
||||
getkey();
|
||||
printf (" Press any key to continue...");
|
||||
getkey ();
|
||||
goto restart;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user