From: Antoine Leca Date: Thu, 4 Apr 2013 11:42:23 +0000 (+0200) Subject: libexec: bug in debugging code X-Git-Tag: v3.3.0~863 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=refs%2Fchanges%2F08%2F708%2F2;p=minix.git libexec: bug in debugging code Change-Id: I8988a6a2d680e1afd0966bc8c90f1c34aee938ed --- diff --git a/lib/libexec/exec_elf.c b/lib/libexec/exec_elf.c index 131f6deb2..6600193fc 100644 --- a/lib/libexec/exec_elf.c +++ b/lib/libexec/exec_elf.c @@ -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); }