From 25ff262a6c87c89620949eb5a78d75dae4d5daf9 Mon Sep 17 00:00:00 2001 From: robertmh Date: Sat, 21 Jun 2008 14:21:03 +0000 Subject: [PATCH] 2008-06-21 Javier Mart\303\255n * util/i386/pc/grub-setup.c (setup): Remove literal "core.img" in a call to resolve the core image location that effectively appended the name twice. --- ChangeLog | 6 ++++++ util/i386/pc/grub-setup.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 49b3c58d8..7f288a1bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-06-21 Javier Martín + + * util/i386/pc/grub-setup.c (setup): Remove literal "core.img" in a + call to resolve the core image location that effectively appended the + name twice. + 2008-06-21 Robert Millan * util/grub.d/00_header.in: Move last prepare_grub_to_access_device() diff --git a/util/i386/pc/grub-setup.c b/util/i386/pc/grub-setup.c index 2a3ebd15f..043484edb 100644 --- a/util/i386/pc/grub-setup.c +++ b/util/i386/pc/grub-setup.c @@ -368,7 +368,7 @@ setup (const char *dir, /* Make sure that GRUB reads the identical image as the OS. */ tmp_img = xmalloc (core_size); - core_path = grub_util_get_path (DEFAULT_DIRECTORY "core.img", core_file); + core_path = grub_util_get_path (DEFAULT_DIRECTORY, core_file); /* It is a Good Thing to sync two times. */ sync ();