diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-18 03:09:37 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-18 03:09:37 +0200 |
commit | cdaf8cd656d3a1e401cd4bd6a05b0597c88e1b1f (patch) | |
tree | d26108d7ff1b24b1307614725de3499cd542d864 | |
parent | 14c896ec58c1cb810d1e854f5117ac2a28ea6ffc (diff) | |
download | serenity-cdaf8cd656d3a1e401cd4bd6a05b0597c88e1b1f.zip |
Kernel: select() was transferring the readfds into the exceptfds vector.
Just a mistake I spotted while reading the code. We don't actually detect
exceptional descriptor events yet.
-rw-r--r-- | Kernel/Process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 99ae1af503..aa794962ec 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -1794,7 +1794,7 @@ int Process::sys$select(const Syscall::SC_select_params* params) error = transfer_fds(readfds, current->m_select_read_fds); if (error) return error; - error = transfer_fds(readfds, current->m_select_exceptional_fds); + error = transfer_fds(exceptfds, current->m_select_exceptional_fds); if (error) return error; |