From 5858b42d07957df394d82c0c72ff61a04070db52 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sun, 29 Jan 2012 16:22:23 +0100 Subject: [PATCH] * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Fix missing ieee1275/ prefix on whole disk. --- ChangeLog | 5 +++++ grub-core/kern/ieee1275/openfw.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 594806347..09512ea9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-01-29 Vladimir Serbinenko + + * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Fix + missing ieee1275/ prefix on whole disk. + 2012-01-29 Vladimir Serbinenko * include/grub/powerpc/ieee1275/util/biosdisk.h: Remove. diff --git a/grub-core/kern/ieee1275/openfw.c b/grub-core/kern/ieee1275/openfw.c index 2c081e57d..1dc932e49 100644 --- a/grub-core/kern/ieee1275/openfw.c +++ b/grub-core/kern/ieee1275/openfw.c @@ -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);