summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/select.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscalls/select.cpp')
-rw-r--r--Kernel/Syscalls/select.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/select.cpp b/Kernel/Syscalls/select.cpp
index 0b7014eb8b..def1cc2c95 100644
--- a/Kernel/Syscalls/select.cpp
+++ b/Kernel/Syscalls/select.cpp
@@ -74,7 +74,7 @@ KResultOr<int> Process::sys$select(Userspace<const Syscall::SC_select_params*> u
return EFAULT;
Thread::SelectBlocker::FDVector fds_info;
- Vector<int> fds;
+ Vector<int, FD_SETSIZE> fds;
for (int fd = 0; fd < params.nfds; fd++) {
u32 block_flags = (u32)Thread::FileBlocker::BlockFlags::None;
if (params.readfds && FD_ISSET(fd, &fds_read))