diff options
Diffstat (limited to 'Kernel/Syscalls/fcntl.cpp')
-rw-r--r-- | Kernel/Syscalls/fcntl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Syscalls/fcntl.cpp b/Kernel/Syscalls/fcntl.cpp index 7c8298d761..c068d59abc 100644 --- a/Kernel/Syscalls/fcntl.cpp +++ b/Kernel/Syscalls/fcntl.cpp @@ -52,9 +52,9 @@ int Process::sys$fcntl(int fd, int cmd, u32 arg) return new_fd; } case F_GETFD: - return m_fds[fd].flags; + return m_fds[fd].flags(); case F_SETFD: - m_fds[fd].flags = arg; + m_fds[fd].set_flags(arg); break; case F_GETFL: return description->file_flags(); |