From 7b0a1a98d9edc5ae91df9138b695fb2bb3ead4b7 Mon Sep 17 00:00:00 2001 From: asynts Date: Fri, 15 Jan 2021 00:18:55 +0100 Subject: Everywhere: Replace a bundle of dbg with dbgln. These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect. --- Kernel/Syscalls/waitid.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Kernel/Syscalls/waitid.cpp') diff --git a/Kernel/Syscalls/waitid.cpp b/Kernel/Syscalls/waitid.cpp index ea6fb3248a..e3090766be 100644 --- a/Kernel/Syscalls/waitid.cpp +++ b/Kernel/Syscalls/waitid.cpp @@ -24,10 +24,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include -//#define PROCESS_DEBUG - namespace Kernel { KResultOr Process::do_waitid(idtype_t idtype, int id, int options) @@ -56,9 +55,7 @@ pid_t Process::sys$waitid(Userspace user_param if (!copy_from_user(¶ms, user_params)) return -EFAULT; -#ifdef PROCESS_DEBUG - dbg() << "sys$waitid(" << params.idtype << ", " << params.id << ", " << params.infop << ", " << params.options << ")"; -#endif + dbgln("sys$waitid({}, {}, {}, {})", params.idtype, params.id, params.infop, params.options); auto siginfo_or_error = do_waitid(static_cast(params.idtype), params.id, params.options); if (siginfo_or_error.is_error()) -- cgit v1.2.3