From 7d2fafcac538f09519b02c3d0021e31480060a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 26 Mar 2006 18:45:54 +0000 Subject: [PATCH] Forgot even more debug output... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16882 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/elf.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/system/kernel/elf.cpp b/src/system/kernel/elf.cpp index 1f66564737..9edc177f14 100644 --- a/src/system/kernel/elf.cpp +++ b/src/system/kernel/elf.cpp @@ -1282,13 +1282,11 @@ load_kernel_add_on(const char *path) continue; length += ROUNDUP(programHeaders[i].p_memsz + (programHeaders[i].p_vaddr % B_PAGE_SIZE), B_PAGE_SIZE); -dprintf("[%ld] vaddr: %lx, memsz: %lx\n", i, programHeaders[i].p_vaddr, - programHeaders[i].p_memsz); + end = ROUNDUP(programHeaders[i].p_memsz + programHeaders[i].p_vaddr, B_PAGE_SIZE); if (end > reservedSize) reservedSize = end; } -dprintf("-> reserved size %lx, length %lx\n", reservedSize, length); // Check whether the segments have an unreasonable amount of unused space // inbetween.