diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-08-07 00:00:17 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-07 16:18:36 +0200 |
commit | dc75ea9fc23413ce12d907e2c843b7b2c7b6324a (patch) | |
tree | 6980ecc0a7f49c4e22441e097771217b2faaadfd /Kernel/API | |
parent | 0db669a9d2d59ee70214c622384730a9d4eb4bfa (diff) | |
download | serenity-dc75ea9fc23413ce12d907e2c843b7b2c7b6324a.zip |
Kernel: Use Userspace<T> for the getpeername syscall
Diffstat (limited to 'Kernel/API')
-rw-r--r-- | Kernel/API/Syscall.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<sockaddr*> addr; + Userspace<socklen_t*> addrlen; }; struct SC_futex_params { |