mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
2004-04-18 Yoshinori K. Okuji <okuji@enbug.org>
* docs/grub.texi (Making a GRUB bootable CD-ROM): New section. * stage2/disk_io.c (set_device): Use CH instead of *DEVICE to test the first character of DEVICE, because DEVICE is incremented. Reported by Bernhard Treutwein.
This commit is contained in:
1 parent
4e69adb6ab
commit
de89ab8289
3 files changed
+77
-3
No files matched your search
+1
-1
@@ -1011,7 +1011,7 @@ set_device (char *device)
|
||||
else
|
||||
#endif /* SUPPORT_NETBOOT */
|
||||
{
|
||||
if (*device == 'c' && cdrom_drive != GRUB_INVALID_DRIVE)
|
||||
if (ch == 'c' && cdrom_drive != GRUB_INVALID_DRIVE)
|
||||
current_drive = cdrom_drive;
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user