From 3aefa8578176c09e40136e2b2b751342747a15be Mon Sep 17 00:00:00 2001 From: proski Date: Mon, 30 Jun 2008 20:44:58 +0000 Subject: [PATCH] 2008-06-30 Pavel Roskin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * util/i386/pc/grub-setup.c (setup): Use core_path_dev, not core_path to calculate the blocklist. Patch from Javier Martín --- ChangeLog | 6 ++++++ util/i386/pc/grub-setup.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7319a5e31..7ff96067b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-06-30 Pavel Roskin + + * util/i386/pc/grub-setup.c (setup): Use core_path_dev, not + core_path to calculate the blocklist. + Patch from Javier Martín + 2008-06-29 Robert Millan * fs/xfs.c (GRUB_XFS_FSB_TO_BLOCK): New macro. Maps filesystem diff --git a/util/i386/pc/grub-setup.c b/util/i386/pc/grub-setup.c index 62c1bf15d..a5e3175b0 100644 --- a/util/i386/pc/grub-setup.c +++ b/util/i386/pc/grub-setup.c @@ -452,7 +452,7 @@ setup (const char *dir, } /* Now read the core image to determine where the sectors are. */ - file = grub_file_open (core_path); + file = grub_file_open (core_path_dev); if (! file) grub_util_error ("%s", grub_errmsg);