From 75cb125e5697625b6da58ab250600b3ab84eec76 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 5 Feb 2020 19:14:56 +0100 Subject: Kernel: Put sys$waitid() debug logging behind PROCESS_DEBUG --- Kernel/Process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Kernel') diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index bff7eaf360..c1a3092f82 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -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(params.idtype), params.id, params.options); if (siginfo_or_error.is_error()) -- cgit v1.2.3