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:
parent
4f8528fc2b
commit
5562834e18
2 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue