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:
okuji committed 2004-04-18 12:39:39 +00:00
1 parent 4e69adb6ab
commit de89ab8289
3 files changed
+77 -3

No files matched your search

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