]> Zhao Yanbai Git Server - minix.git/commitdiff
libexec: bug in debugging code 08/708/2
authorAntoine Leca <Antoine.Leca.1@gmail.com>
Thu, 4 Apr 2013 11:42:23 +0000 (13:42 +0200)
committerGerrit Code Review <gerrit@gerrit>
Tue, 6 Aug 2013 09:46:40 +0000 (11:46 +0200)
Change-Id: I8988a6a2d680e1afd0966bc8c90f1c34aee938ed

lib/libexec/exec_elf.c

index 131f6deb2e485d0c1192b899abea766e195577b4..6600193fc86d858131326ce1e5406972245bd38e 100644 (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);
                        }