summaryrefslogtreecommitdiff
path: root/Kernel/VM/RangeAllocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/VM/RangeAllocator.cpp')
-rw-r--r--Kernel/VM/RangeAllocator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/VM/RangeAllocator.cpp b/Kernel/VM/RangeAllocator.cpp
index edbb76192d..6ceee3ce68 100644
--- a/Kernel/VM/RangeAllocator.cpp
+++ b/Kernel/VM/RangeAllocator.cpp
@@ -130,7 +130,7 @@ Range RangeAllocator::allocate_anywhere(size_t size, size_t alignment)
#endif
return allocated_range;
}
- kprintf("VRA: Failed to allocate anywhere: %zu, %zu\n", size, alignment);
+ klog() << "VRA: Failed to allocate anywhere: " << size << ", " << alignment;
return {};
}
@@ -155,7 +155,7 @@ Range RangeAllocator::allocate_specific(VirtualAddress base, size_t size)
#endif
return allocated_range;
}
- kprintf("VRA: Failed to allocate specific range: %x(%u)\n", base.get(), size);
+ dbg() << "VRA: Failed to allocate specific range: " << base << "(" << size << ")";
return {};
}