diff --git a/src/system/kernel/debug/debug_heap.cpp b/src/system/kernel/debug/debug_heap.cpp index 069f327d1b..531e44b81a 100644 --- a/src/system/kernel/debug/debug_heap.cpp +++ b/src/system/kernel/debug/debug_heap.cpp @@ -124,7 +124,7 @@ struct DebugAllocPool { // check address if (((addr_t)address & 7) != 0 || address <= fBase + 1 || address >= fBase + fEnd) { - kprintf("DebugAllocator::Free(%p): bad address\n", address); + kprintf("DebugAllocPool::Free(%p): bad address\n", address); return; } @@ -132,7 +132,7 @@ struct DebugAllocPool { allocation_header* header = (allocation_header*)address - 1; uint32 index = header - fBase; if (header->free) { - kprintf("DebugAllocator::Free(%p): double free\n", address); + kprintf("DebugAllocPool::Free(%p): double free\n", address); return; }