mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 18:57:42 +00:00
Kernel: Fix bitrotted DEBUG_IO logging
This commit is contained in:
parent
a78ae917d8
commit
2a679f228e
1 changed files with 1 additions and 1 deletions
|
@ -1984,7 +1984,7 @@ int Process::sys$open(const Syscall::SC_open_params* user_params)
|
||||||
if (path.is_error())
|
if (path.is_error())
|
||||||
return path.error();
|
return path.error();
|
||||||
#ifdef DEBUG_IO
|
#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
|
#endif
|
||||||
int fd = alloc_fd();
|
int fd = alloc_fd();
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue