From 213b8868af6028c98cf96b0a668fc3dda8ba5958 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 7 Sep 2021 13:41:27 +0200 Subject: Kernel: Rename file_description(fd) => open_file_description(fd) To go with the class rename. --- Kernel/Syscalls/dup2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Syscalls/dup2.cpp') diff --git a/Kernel/Syscalls/dup2.cpp b/Kernel/Syscalls/dup2.cpp index 72d6aa7438..22cd74123a 100644 --- a/Kernel/Syscalls/dup2.cpp +++ b/Kernel/Syscalls/dup2.cpp @@ -13,7 +13,7 @@ KResultOr Process::sys$dup2(int old_fd, int new_fd) { VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this); REQUIRE_PROMISE(stdio); - auto description = TRY(fds().file_description(old_fd)); + auto description = TRY(fds().open_file_description(old_fd)); if (old_fd == new_fd) return new_fd; if (new_fd < 0 || static_cast(new_fd) >= fds().max_open()) -- cgit v1.2.3