From b941342428a63915a147e236f256f441671a4561 Mon Sep 17 00:00:00 2001 From: robertmh Date: Fri, 27 Feb 2009 21:01:25 +0000 Subject: [PATCH] 2009-02-27 Robert Millan Patch from Alexandre Bique * util/i386/pc/grub-setup.c (setup): Fix directory path. --- ChangeLog | 5 +++++ util/i386/pc/grub-setup.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e33065c60..15bc11893 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-02-27 Robert Millan + + Patch from Alexandre Bique + * util/i386/pc/grub-setup.c (setup): Fix directory path. + 2009-02-27 Krzysztof Smiechowicz * fs/sfs.c (grub_sfs_read_extent): Correction to traversing extent diff --git a/util/i386/pc/grub-setup.c b/util/i386/pc/grub-setup.c index ccbb46536..295e30ad9 100644 --- a/util/i386/pc/grub-setup.c +++ b/util/i386/pc/grub-setup.c @@ -373,7 +373,7 @@ setup (const char *dir, /* 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 ();