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

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

No files matched your search

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