diff --git a/Kernel/Net/LocalSocket.h b/Kernel/Net/LocalSocket.h index 818608d8a5..1fc56c59a7 100644 --- a/Kernel/Net/LocalSocket.h +++ b/Kernel/Net/LocalSocket.h @@ -15,8 +15,8 @@ namespace Kernel { class FileDescription; struct SocketPair { + NonnullRefPtr description0; NonnullRefPtr description1; - NonnullRefPtr description2; }; class LocalSocket final : public Socket { diff --git a/Kernel/Syscalls/socket.cpp b/Kernel/Syscalls/socket.cpp index 522881c224..e8d3a3bbda 100644 --- a/Kernel/Syscalls/socket.cpp +++ b/Kernel/Syscalls/socket.cpp @@ -412,21 +412,23 @@ KResultOr Process::sys$socketpair(Userspace