[syslinux] [PATCH 2/2] com32/mboot/map.c: removed trailing spaces
Geert Stappers
stappers at stappers.nl
Sat Oct 10 04:29:39 PDT 2015
From: Geert Stappers <stappers op nero.gpm.stappers.nl>
They were introduced by the patch for ELF64 support.
---
com32/mboot/map.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/com32/mboot/map.c b/com32/mboot/map.c
index 2e8641f..1992f14 100644
--- a/com32/mboot/map.c
+++ b/com32/mboot/map.c
@@ -281,7 +281,7 @@ struct multiboot_header *map_image(void *ptr, size_t len)
sh[i].sh_addr = addr;
}
}
- } else if (eh64 && !(opt.aout && mbh_len &&
+ } else if (eh64 && !(opt.aout && mbh_len &&
(mbh->flags & MULTIBOOT_AOUT_KLUDGE))) {
/* Load 64-bit ELF */
regs.eip = eh64->e_entry; /* Can be overridden further down... */
@@ -378,7 +378,7 @@ struct multiboot_header *map_image(void *ptr, size_t len)
continue; /* SHF_ALLOC sections should have PHDRs */
align = sh64[i].sh_addralign ? sh64[i].sh_addralign : 0;
- addr = map_data((char *)ptr + sh64[i].sh_offset,
+ addr = map_data((char *)ptr + sh64[i].sh_offset,
sh64[i].sh_size, align, MAP_HIGH);
if (!addr) {
error("Failed to map symbol section\n");
--
2.0.0
More information about the Syslinux
mailing list