mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 01:37:39 +03:00
Kernel: Put fcntl() debug spam behind DEBUG_IO
This commit is contained in:
parent
45e7c2ba69
commit
ca609ce5a3
Notes:
sideshowbarker
2024-07-19 10:09:05 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/ca609ce5a3e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user