summaryrefslogtreecommitdiff
path: root/Kernel/Process.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-21 12:25:40 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-21 15:49:30 +0100
commit2a679f228e3797f2315c9406193041cd2d4e9e62 (patch)
treec10e693670f3c097991dd84aedfa095e6d45137e /Kernel/Process.cpp
parenta78ae917d885de9d34d0b0f2c3b215c793ba71a8 (diff)
downloadserenity-2a679f228e3797f2315c9406193041cd2d4e9e62.zip
Kernel: Fix bitrotted DEBUG_IO logging
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r--Kernel/Process.cpp2
1 files changed, 1 insertions, 1 deletions
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)