summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-09 15:25:53 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-10 12:52:15 +0200
commit0e20a6df0a5d15e1fdf5d4c2e7e8df86a6aabe65 (patch)
treedee2dd285b0d1161301a7cc5dfe93641aa41b813 /Kernel/Process.h
parent8bd9dbc220963f0cde6ec055ba833d498c234dda (diff)
downloadserenity-0e20a6df0a5d15e1fdf5d4c2e7e8df86a6aabe65.zip
Kernel: Use Userspace<T> for the connect syscall
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 1720b2b48b..079a2a1717 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -294,7 +294,7 @@ public:
int sys$bind(int sockfd, Userspace<const sockaddr*> addr, socklen_t);
int sys$listen(int sockfd, int backlog);
int sys$accept(int sockfd, Userspace<sockaddr*>, Userspace<socklen_t*>);
- int sys$connect(int sockfd, const sockaddr*, socklen_t);
+ int sys$connect(int sockfd, Userspace<const sockaddr*>, socklen_t);
int sys$shutdown(int sockfd, int how);
ssize_t sys$sendto(const Syscall::SC_sendto_params*);
ssize_t sys$recvfrom(const Syscall::SC_recvfrom_params*);