1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:28:10 +00:00

Kernel: Fix bitrotted FORK_DEBUG logging code

This commit is contained in:
Andreas Kling 2019-09-27 13:57:35 +02:00
parent 9c3c117f05
commit 7a7f6a24e9

View file

@ -303,7 +303,7 @@ Process* Process::fork(RegisterDump& regs)
for (auto& region : m_regions) {
#ifdef FORK_DEBUG
dbgprintf("fork: cloning Region{%p} \"%s\" V%08x\n", region.ptr(), region->name().characters(), region->vaddr().get());
dbg() << "fork: cloning Region{" << &region << "} '" << region.name() << "' @ " << region.vaddr();
#endif
auto cloned_region = region.clone();
child->m_regions.append(move(cloned_region));