From 962c1957d8c33c71c341cc3d79f436732b67bb88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 14 Oct 2003 00:34:08 +0000 Subject: [PATCH] Minor fixes. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5020 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/boot/platform/openfirmware/arch/ppc/mmu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/boot/platform/openfirmware/arch/ppc/mmu.cpp b/src/kernel/boot/platform/openfirmware/arch/ppc/mmu.cpp index b1073150eb..4a0262c129 100644 --- a/src/kernel/boot/platform/openfirmware/arch/ppc/mmu.cpp +++ b/src/kernel/boot/platform/openfirmware/arch/ppc/mmu.cpp @@ -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);