Some more debug output when tracing is enabled.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8940 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-09-14 17:43:53 +00:00
parent 81f2f81c21
commit 30a0c00ded

View File

@ -581,6 +581,8 @@ map_image(int fd, char const *path, image_t *image, bool fixed)
toClear = image->regions[i].vmsize
- PAGE_OFFSET(image->regions[i].start)
- image->regions[i].size;
TRACE(("cleared 0x%lx and the following 0x%lx bytes\n", startClearing, toClear));
memset((void *)startClearing, 0, toClear);
}
}
@ -903,8 +905,8 @@ load_dependencies(image_t *image)
sprintf(path, "/boot/beos/system/lib/%s", STRING(image, needed_offset));
image->needed[j] = load_container(path, STRING(image, needed_offset), B_LIBRARY_IMAGE);
j += 1;
break;
default:
/*
* ignore any other tag