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 2010-02-06 00:32:07 +01:00
parent 4f8528fc2b
commit 5562834e18
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
* kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Support whole
disk devices.
2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
* kern/ieee1275/openfw.c (grub_devalias_iterate): Stop iterating on

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);