mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
Kernel: Put fcntl() debug spam behind DEBUG_IO
This commit is contained in:
@@ -1512,7 +1512,9 @@ int Process::sys$fcntl(int fd, int cmd, u32 arg)
|
||||
REQUIRE_PROMISE(stdio);
|
||||
(void)cmd;
|
||||
(void)arg;
|
||||
#ifdef DEBUG_IO
|
||||
dbgprintf("sys$fcntl: fd=%d, cmd=%d, arg=%u\n", fd, cmd, arg);
|
||||
#endif
|
||||
auto description = file_description(fd);
|
||||
if (!description)
|
||||
return -EBADF;
|
||||
|
||||
Reference in New Issue
Block a user