Fix a typo in elfboot.c. Closes #27
Signed-off-by: Luis Correia <luis.f.correia@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2488 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
1549f2a557
commit
a9e273593f
|
@ -630,7 +630,7 @@ int elfboot(struct lb_memory *mem)
|
||||||
printk_spew("NO header at %d\n", i);
|
printk_spew("NO header at %d\n", i);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
printk_debug("Found ELF candiate at offset %d\n", i);
|
printk_debug("Found ELF candidate at offset %d\n", i);
|
||||||
/* Sanity check the elf header */
|
/* Sanity check the elf header */
|
||||||
if ((ehdr->e_type == ET_EXEC) &&
|
if ((ehdr->e_type == ET_EXEC) &&
|
||||||
elf_check_arch(ehdr) &&
|
elf_check_arch(ehdr) &&
|
||||||
|
|
Loading…
Reference in New Issue