2008-06-21 Javier Mart\303\255n <lordhabbit@gmail.com>

* 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.
This commit is contained in:
robertmh 2008-06-21 14:21:03 +00:00
parent 76a2bd44b3
commit 25ff262a6c
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-06-21 Javier Martín <lordhabbit@gmail.com>
* 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 <rmh@aybabtu.com> 2008-06-21 Robert Millan <rmh@aybabtu.com>
* util/grub.d/00_header.in: Move last prepare_grub_to_access_device() * util/grub.d/00_header.in: Move last prepare_grub_to_access_device()

View file

@ -368,7 +368,7 @@ setup (const char *dir,
/* Make sure that GRUB reads the identical image as the OS. */ /* Make sure that GRUB reads the identical image as the OS. */
tmp_img = xmalloc (core_size); 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. */ /* It is a Good Thing to sync two times. */
sync (); sync ();