mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +00:00
Kernel: Put sys$waitid() debug logging behind PROCESS_DEBUG
This commit is contained in:
parent
0cff25ac78
commit
75cb125e56
Notes:
sideshowbarker
2024-07-19 09:35:54 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/75cb125e569
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
Reference in a new issue