From dc75ea9fc23413ce12d907e2c843b7b2c7b6324a Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Fri, 7 Aug 2020 00:00:17 -0700 Subject: Kernel: Use Userspace for the getpeername syscall --- Kernel/API/Syscall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Kernel/API') diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index 0c5511166d..1a24be437c 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -326,8 +326,8 @@ struct SC_getsockname_params { struct SC_getpeername_params { int sockfd; - sockaddr* addr; - socklen_t* addrlen; + Userspace addr; + Userspace addrlen; }; struct SC_futex_params { -- cgit v1.2.3