kernel: Fix some debug-only log strings after the process rework

This commit is contained in:
apio 2024-12-11 19:16:22 +01:00
parent ec6ceb4c8d
commit 56a2b607b5
Signed by: apio
GPG Key ID: B8A7D06E42258954
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ Result<u64> sys_fork(Registers* regs, SyscallArgs)
Scheduler::add_process(process);
#ifdef FORK_DEBUG
kdbgln("fork: thread %d forked into child %d", current->id, thread->id);
kdbgln("fork: thread %d forked into child %d", current->id, process->id);
#endif
return process->id;

View File

@ -251,7 +251,7 @@ namespace Scheduler
CPU::disable_interrupts();
#ifdef REAP_DEBUG
kdbgln("reap: reaping thread with id %d", thread->id);
kdbgln("reap: reaping thread with id %d", thread->tid);
#endif
if (thread->is_kernel)