diff --git a/Kernel/VM/RangeAllocator.cpp b/Kernel/VM/RangeAllocator.cpp index f00a9cacbc..a3168cf1f3 100644 --- a/Kernel/VM/RangeAllocator.cpp +++ b/Kernel/VM/RangeAllocator.cpp @@ -161,7 +161,7 @@ Optional RangeAllocator::allocate_anywhere(size_t size, size_t alignment) carve_at_index(i, allocated_range); return allocated_range; } - klog() << "RangeAllocator: Failed to allocate anywhere: " << size << ", " << alignment; + dmesgln("RangeAllocator: Failed to allocate anywhere: size={}, alignment={}", size, alignment); return {}; } diff --git a/Kernel/VM/RangeAllocator.h b/Kernel/VM/RangeAllocator.h index 97e58d02ec..0ea8206577 100644 --- a/Kernel/VM/RangeAllocator.h +++ b/Kernel/VM/RangeAllocator.h @@ -106,11 +106,6 @@ private: mutable SpinLock m_lock; }; -inline const LogStream& operator<<(const LogStream& stream, const Range& value) -{ - return stream << String::formatted("Range({:08x}-{:08x})", value.base().get(), value.end().get() - 1); -} - } namespace AK {