diff options
author | asynts <asynts@gmail.com> | 2021-01-10 16:21:56 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-11 11:55:47 +0100 |
commit | 723effd05152d2f9f2f8488b834a2ed2d88a4106 (patch) | |
tree | 4af99b7bea34166a58dcabd03323633aa8eee3f4 /Kernel/VM/RangeAllocator.cpp | |
parent | 5931758dbc4561c6d14bc7dba25cffabb5e3ca9f (diff) | |
download | serenity-723effd05152d2f9f2f8488b834a2ed2d88a4106.zip |
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.Everything:
Diffstat (limited to 'Kernel/VM/RangeAllocator.cpp')
-rw-r--r-- | Kernel/VM/RangeAllocator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/VM/RangeAllocator.cpp b/Kernel/VM/RangeAllocator.cpp index a7ced5d636..e8454e8a7f 100644 --- a/Kernel/VM/RangeAllocator.cpp +++ b/Kernel/VM/RangeAllocator.cpp @@ -63,9 +63,9 @@ RangeAllocator::~RangeAllocator() void RangeAllocator::dump() const { ASSERT(m_lock.is_locked()); - dbg() << "RangeAllocator{" << this << "}"; + dbgln("RangeAllocator({})", this); for (auto& range : m_available_ranges) { - dbg() << " " << String::format("%x", range.base().get()) << " -> " << String::format("%x", range.end().get() - 1); + dbgln(" {:x} -> {:x}", range.base().get(), range.end().get() - 1); } } @@ -161,7 +161,7 @@ Range RangeAllocator::allocate_specific(VirtualAddress base, size_t size) #endif return allocated_range; } - dbg() << "VRA: Failed to allocate specific range: " << base << "(" << size << ")"; + dbgln("VRA: Failed to allocate specific range: {}({})", base, size); return {}; } |