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

Don't add the bogus brackets.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-19 20:28:09 +02:00
parent a374751b16
commit f8f72eb890
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-10-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname):
Don't add the bogus brackets.
2011-10-19 Vladimir Serbinenko <phcoder@gmail.com> 2011-10-19 Vladimir Serbinenko <phcoder@gmail.com>
ExFAT support. ExFAT support.

View file

@ -445,10 +445,10 @@ grub_ieee1275_encode_devname (const char *path)
/* GRUB partition 1 is OF partition 0. */ /* GRUB partition 1 is OF partition 0. */
partno++; partno++;
encoding = grub_xasprintf ("(%s,%d)", device, partno); encoding = grub_xasprintf ("%s,%d", device, partno);
} }
else else
encoding = grub_xasprintf ("(%s)", device); encoding = grub_strdup (device);
grub_free (partition); grub_free (partition);
grub_free (device); grub_free (device);