mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 07:39:22 +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:
1 parent
4f8528fc2b
commit
5562834e18
2 files changed
+6
-1
No files matched your search
@@ -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>
|
2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* kern/ieee1275/openfw.c (grub_devalias_iterate): Stop iterating on
|
* 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 *partition = grub_ieee1275_parse_args (path, GRUB_PARSE_PARTITION);
|
||||||
char *encoding;
|
char *encoding;
|
||||||
|
|
||||||
if (partition)
|
if (partition && partition[0])
|
||||||
{
|
{
|
||||||
unsigned int partno = grub_strtoul (partition, 0, 0);
|
unsigned int partno = grub_strtoul (partition, 0, 0);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user