Minor fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5020 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2664bace2e
commit
962c1957d8
@ -96,7 +96,7 @@ find_physical_memory_ranges(size_t &total)
|
||||
|
||||
for (int32 i = 0; i < count; i++) {
|
||||
if (regions[i].size <= 0) {
|
||||
printf("%ld: empty region", i);
|
||||
printf("%ld: empty region\n", i);
|
||||
continue;
|
||||
}
|
||||
printf("%ld: base = %p, size = %lu\n", i, regions[i].base, regions[i].size);
|
||||
@ -252,7 +252,7 @@ find_allocated_ranges(void *pageTable, void **_physicalPageTable)
|
||||
} translations[64];
|
||||
int length = of_getprop(mmu, "translations", &translations, sizeof(translations));
|
||||
if (length == OF_FAILED)
|
||||
printf("getting translations failed\n");
|
||||
return B_ERROR;
|
||||
length = length / sizeof(struct translation_map);
|
||||
uint32 total = 0;
|
||||
printf("found %d translations\n", length);
|
||||
|
Loading…
x
Reference in New Issue
Block a user