mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname):
Don't add the bogus brackets.
This commit is contained in:
1 parent
a374751b16
commit
f8f72eb890
2 files changed
+7
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user