diff options
Diffstat (limited to 'Kernel/Syscalls/ioctl.cpp')
-rw-r--r-- | Kernel/Syscalls/ioctl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/ioctl.cpp b/Kernel/Syscalls/ioctl.cpp index c3a4dc1277..b5b078186e 100644 --- a/Kernel/Syscalls/ioctl.cpp +++ b/Kernel/Syscalls/ioctl.cpp @@ -13,7 +13,7 @@ namespace Kernel { KResultOr<FlatPtr> Process::sys$ioctl(int fd, unsigned request, FlatPtr arg) { VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this) - auto description = TRY(fds().file_description(fd)); + auto description = TRY(fds().open_file_description(fd)); if (request == FIONBIO) { description->set_blocking(arg == 0); return KSuccess; |