summaryrefslogtreecommitdiff
path: root/Kernel/Process.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-05 19:14:56 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-05 19:14:56 +0100
commit75cb125e5697625b6da58ab250600b3ab84eec76 (patch)
treef066309d6af8f10b5de6abe5254b55d883286d43 /Kernel/Process.cpp
parent0cff25ac78cd0c4d144d1c8792a65db69b1e28e2 (diff)
downloadserenity-75cb125e5697625b6da58ab250600b3ab84eec76.zip
Kernel: Put sys$waitid() debug logging behind PROCESS_DEBUG
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r--Kernel/Process.cpp4
1 files changed, 2 insertions, 2 deletions
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<idtype_t>(params.idtype), params.id, params.options);
if (siginfo_or_error.is_error())