kernel: Fix some debug-only log strings after the process rework
This commit is contained in:
parent
ec6ceb4c8d
commit
56a2b607b5
@ -243,7 +243,7 @@ Result<u64> sys_fork(Registers* regs, SyscallArgs)
|
|||||||
Scheduler::add_process(process);
|
Scheduler::add_process(process);
|
||||||
|
|
||||||
#ifdef FORK_DEBUG
|
#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
|
#endif
|
||||||
|
|
||||||
return process->id;
|
return process->id;
|
||||||
|
@ -251,7 +251,7 @@ namespace Scheduler
|
|||||||
CPU::disable_interrupts();
|
CPU::disable_interrupts();
|
||||||
|
|
||||||
#ifdef REAP_DEBUG
|
#ifdef REAP_DEBUG
|
||||||
kdbgln("reap: reaping thread with id %d", thread->id);
|
kdbgln("reap: reaping thread with id %d", thread->tid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (thread->is_kernel)
|
if (thread->is_kernel)
|
||||||
|
Loading…
Reference in New Issue
Block a user