[2004] 2009-02-27 Robert Millan <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2004
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2004
Author:   robertmh
Date:     2009-02-27 21:01:25 +0000 (Fri, 27 Feb 2009)

Log Message:
-----------
2009-02-27  Robert Millan  <[email protected]>

        Patch from Alexandre Bique <[email protected]>
        * util/i386/pc/grub-setup.c (setup): Fix directory path.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/i386/pc/grub-setup.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-02-27 19:50:53 UTC (rev 2003)
+++ trunk/grub2/ChangeLog	2009-02-27 21:01:25 UTC (rev 2004)
@@ -1,3 +1,8 @@
+2009-02-27  Robert Millan  <[email protected]>
+
+	Patch from Alexandre Bique <[email protected]>
+	* util/i386/pc/grub-setup.c (setup): Fix directory path.
+
 2009-02-27  Krzysztof Smiechowicz <[email protected]>
 
 	* fs/sfs.c (grub_sfs_read_extent): Correction to traversing extent

Modified: trunk/grub2/util/i386/pc/grub-setup.c
===================================================================
--- trunk/grub2/util/i386/pc/grub-setup.c	2009-02-27 19:50:53 UTC (rev 2003)
+++ trunk/grub2/util/i386/pc/grub-setup.c	2009-02-27 21:01:25 UTC (rev 2004)
@@ -373,7 +373,7 @@
   
   /* Make sure that GRUB reads the identical image as the OS.  */
   tmp_img = xmalloc (core_size);
-  core_path_dev = grub_util_get_path (DEFAULT_DIRECTORY, core_file);
+  core_path_dev = grub_util_get_path (dir, core_file);
   
   /* It is a Good Thing to sync two times.  */
   sync ();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.