From 2a679f228e3797f2315c9406193041cd2d4e9e62 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 21 Feb 2020 12:25:40 +0100 Subject: [PATCH] Kernel: Fix bitrotted DEBUG_IO logging --- Kernel/Process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 9a274d072d..cf4e793249 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -1984,7 +1984,7 @@ int Process::sys$open(const Syscall::SC_open_params* user_params) if (path.is_error()) return path.error(); #ifdef DEBUG_IO - dbgprintf("%s(%u) sys$open(%d, \"%s\")\n", dirfd, name().characters(), pid(), path.value().characters()); + dbg() << "sys$open(dirfd=" << dirfd << ", path=\"" << path.value() << "\", options=" << options << ", mode=" << mode << ")"; #endif int fd = alloc_fd(); if (fd < 0)