mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-13 16:26:37 +00:00
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
@ -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
|
||||
|
@ -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…
Reference in New Issue
Block a user