2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>

* kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Support whole
	disk devices.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2010-02-06 00:32:07 +01:00
1 parent 4f8528fc2b
commit 5562834e18
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -374,7 +374,7 @@ grub_ieee1275_encode_devname (const char *path)
char *partition = grub_ieee1275_parse_args (path, GRUB_PARSE_PARTITION);
char *encoding;
if (partition)
if (partition && partition[0])
{
unsigned int partno = grub_strtoul (partition, 0, 0);