Kernel: Fix bitrotted DEBUG_IO logging

This commit is contained in:
Andreas Kling 2020-02-21 12:25:40 +01:00
parent a78ae917d8
commit 2a679f228e
Notes: sideshowbarker 2024-07-19 09:11:23 +09:00

View file

@ -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)