* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Fix

missing ieee1275/ prefix on whole disk.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-01-29 16:22:23 +01:00
parent 4ed3c26b0d
commit 5858b42d07
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Fix
missing ieee1275/ prefix on whole disk.
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/powerpc/ieee1275/util/biosdisk.h: Remove.

View file

@ -453,7 +453,7 @@ grub_ieee1275_encode_devname (const char *path)
encoding = grub_xasprintf ("ieee1275/%s,%d", device, partno);
}
else
encoding = grub_strdup (device);
encoding = grub_xasprintf ("ieee1275/%s", device);
grub_free (partition);
grub_free (device);