Skip to content

Commit

Permalink
Kernel: Fix bitrotted DEBUG_IO logging
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Feb 21, 2020
1 parent a78ae91 commit 2a679f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kernel/Process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2a679f2

Please sign in to comment.