summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/ioctl.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-07 13:41:27 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-07 13:53:14 +0200
commit213b8868af6028c98cf96b0a668fc3dda8ba5958 (patch)
tree963f56fa4fa4a6ce3e5ada4316825513562a72fc /Kernel/Syscalls/ioctl.cpp
parent4a9c18afb9b9c7fde698e93700e661d66e3ed34d (diff)
downloadserenity-213b8868af6028c98cf96b0a668fc3dda8ba5958.zip
Kernel: Rename file_description(fd) => open_file_description(fd)
To go with the class rename.
Diffstat (limited to 'Kernel/Syscalls/ioctl.cpp')
-rw-r--r--Kernel/Syscalls/ioctl.cpp2
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;