]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-06-30 Pavel Roskin <proski@gnu.org>
authorproski <proski@localhost>
Mon, 30 Jun 2008 20:44:58 +0000 (20:44 +0000)
committerproski <proski@localhost>
Mon, 30 Jun 2008 20:44:58 +0000 (20:44 +0000)
* util/i386/pc/grub-setup.c (setup): Use core_path_dev, not
core_path to calculate the blocklist.
Patch from Javier Martín <lordhabbit@gmail.com>

ChangeLog
util/i386/pc/grub-setup.c

index 7319a5e310dee893360d450b2f0db0e8fb029d66..7ff96067b016f5c7a6561a03acd6ec31129c592c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-06-30  Pavel Roskin  <proski@gnu.org>
+
+       * util/i386/pc/grub-setup.c (setup): Use core_path_dev, not
+       core_path to calculate the blocklist.
+       Patch from Javier Martín <lordhabbit@gmail.com>
+
 2008-06-29  Robert Millan  <rmh@aybabtu.com>
 
        * fs/xfs.c (GRUB_XFS_FSB_TO_BLOCK): New macro.  Maps filesystem
index 62c1bf15da985aa17d602168ef07baee00d806e7..a5e3175b002daef79d9699aae70bc74aee233995 100644 (file)
@@ -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);