* grub-core/loader/i386/bsdXX.c (grub_openbsd_find_ramdisk): Silence
spurious warning. Reported by: crocket
This commit is contained in:
parent
14b48a19c2
commit
b12b923e63
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-12-31 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/loader/i386/bsdXX.c (grub_openbsd_find_ramdisk): Silence
|
||||||
|
spurious warning.
|
||||||
|
Reported by: crocket
|
||||||
|
|
||||||
2010-12-27 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-12-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/loader/xnu.c (grub_cmd_xnu_kernel) [! GRUB_MACHINE_EFI]:
|
* grub-core/loader/xnu.c (grub_cmd_xnu_kernel) [! GRUB_MACHINE_EFI]:
|
||||||
|
|
|
@ -511,7 +511,7 @@ SUFFIX(grub_openbsd_find_ramdisk) (grub_file_t file,
|
||||||
grub_err_t err;
|
grub_err_t err;
|
||||||
Elf_Ehdr e;
|
Elf_Ehdr e;
|
||||||
Elf_Shdr *s;
|
Elf_Shdr *s;
|
||||||
char *shdr;
|
char *shdr = NULL;
|
||||||
|
|
||||||
err = read_headers (file, &e, &shdr);
|
err = read_headers (file, &e, &shdr);
|
||||||
if (err)
|
if (err)
|
||||||
|
|
Loading…
Reference in a new issue