2009-12-06 David S. Miller <davem@sunset.davemloft.net>

* disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Recognize
	anything even prefixed with 'cdrom' as a cdrom.
This commit is contained in:
David S. Miller authored and Vladimir 'phcoder' Serbinenko committed 2009-12-07 11:54:25 +01:00
1 parent df91e67900
commit de6daa8b56
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ grub_ofdisk_iterate (int (*hook) (const char *name))
}
if (! grub_strcmp (alias->type, "block") &&
grub_strcmp (alias->name, "cdrom"))
grub_strncmp (alias->name, "cdrom", 5))
ret = hook (alias->name);
return ret;
}