libexec: bug in debugging code

Change-Id: I8988a6a2d680e1afd0966bc8c90f1c34aee938ed
This commit is contained in:
Antoine Leca 2013-04-04 13:42:23 +02:00 committed by Gerrit Code Review
parent ed53e5e5a4
commit 84afb336d6

View file

@ -285,7 +285,7 @@ int libexec_load_elf(struct exec_info *execi)
if((chunk = vmemend - vfileend) > 0) {
#if ELF_DEBUG
printf("end clearing 0x%lx-0x%lx\n", vfileend, vaddr+chunk);
printf("end clearing 0x%lx-0x%lx\n", vfileend, vfileend+chunk);
#endif
execi->clearmem(execi, vfileend, chunk);
}