2005-01-20 Marco Gerards <metgerards@student.han.nl>
* include/grub/mm.h (grub_mm_init_region): Change the type of the `unsigned' arguments to `grub_size_t'. (grub_malloc): Likewise. (grub_realloc): Likewise. (grub_memalign): Likewise. * kern/i386/dl.c (grub_arch_dl_check_header): Likewise. * kern/powerpc/dl.c (grub_arch_dl_check_header): Likewise. * util/misc.c (grub_malloc): Likewise. (grub_realloc): Likewise. * kern/mm.c (get_header_from_pointer): Change the casts to `unsigned' into a cast to `grub_size_t'. * fs/fshelp.c (grub_fshelp_find_file): The `oldnode' should always point to `currnode' when `currnode' is changed. * util/grub-emu.c (main): Initialize `progname'. Reported by Nico Schottelius <nico-linux@schottelius.org>.
This commit is contained in:
parent
d0ff18e182
commit
777aff3957
8 changed files with 35 additions and 13 deletions
|
@ -135,7 +135,9 @@ main (int argc, char *argv[])
|
|||
.dir = DEFAULT_DIRECTORY,
|
||||
.dev_map = DEFAULT_DEVICE_MAP
|
||||
};
|
||||
|
||||
|
||||
progname = "grub-emu";
|
||||
|
||||
argp_parse (&argp, argc, argv, 0, 0, &args);
|
||||
|
||||
/* More sure there is a root device. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue