mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
Kernel: Put sys$waitid() debug logging behind PROCESS_DEBUG
This commit is contained in:
parent
0cff25ac78
commit
75cb125e56
1 changed files with 2 additions and 2 deletions
|
@ -2385,9 +2385,9 @@ pid_t Process::sys$waitid(const Syscall::SC_waitid_params* user_params)
|
|||
if (!validate_write_typed(params.infop))
|
||||
return -EFAULT;
|
||||
|
||||
//#ifdef PROCESS_DEBUG
|
||||
#ifdef PROCESS_DEBUG
|
||||
dbg() << "sys$waitid(" << params.idtype << ", " << params.id << ", " << params.infop << ", " << params.options << ")";
|
||||
//#endif
|
||||
#endif
|
||||
|
||||
auto siginfo_or_error = do_waitid(static_cast<idtype_t>(params.idtype), params.id, params.options);
|
||||
if (siginfo_or_error.is_error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue