mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
Kernel: Unbreak building with extra debug macros, part 2
This commit is contained in:
parent
eac3bbdcee
commit
081bb29626
Notes:
sideshowbarker
2024-07-19 03:02:27 +09:00
Author: https://github.com/BenWiederhake
Commit: 081bb29626
Pull-request: https://github.com/SerenityOS/serenity/pull/3314
9 changed files with 28 additions and 18 deletions
|
@ -26,6 +26,8 @@
|
|||
|
||||
#include <Kernel/Process.h>
|
||||
|
||||
//#define PROCESS_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
KResultOr<siginfo_t> Process::do_waitid(idtype_t idtype, int id, int options)
|
||||
|
@ -109,7 +111,7 @@ pid_t Process::sys$waitid(Userspace<const Syscall::SC_waitid_params*> user_param
|
|||
return -EFAULT;
|
||||
|
||||
#ifdef PROCESS_DEBUG
|
||||
dbg() << "sys$waitid(" << params.idtype << ", " << params.id << ", " << params.infop << ", " << params.options << ")";
|
||||
dbg() << "sys$waitid(" << params.idtype << ", " << params.id << ", " << params.infop.ptr() << ", " << params.options << ")";
|
||||
#endif
|
||||
|
||||
auto siginfo_or_error = do_waitid(static_cast<idtype_t>(params.idtype), params.id, params.options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue