summaryrefslogtreecommitdiff
path: root/Kernel/LocalSocket.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-13 14:47:21 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-13 14:47:21 +0100
commit19a51132f5e952a7db8a9021348eae5ca144b77f (patch)
tree21785b4b94028ea5836e09376cd7f10d0710615d /Kernel/LocalSocket.cpp
parentb59d588c0482a78c9a69f88b82aa0e2bb8fe1955 (diff)
downloadserenity-19a51132f5e952a7db8a9021348eae5ca144b77f.zip
Kernel: recvfrom() should treat the address arguments as outparams.
Diffstat (limited to 'Kernel/LocalSocket.cpp')
-rw-r--r--Kernel/LocalSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/LocalSocket.cpp b/Kernel/LocalSocket.cpp
index ab21aabfa7..d79b1badac 100644
--- a/Kernel/LocalSocket.cpp
+++ b/Kernel/LocalSocket.cpp
@@ -169,7 +169,7 @@ ssize_t LocalSocket::sendto(const void*, size_t, int, const sockaddr*, socklen_t
ASSERT_NOT_REACHED();
}
-ssize_t LocalSocket::recvfrom(void*, size_t, int flags, const sockaddr*, socklen_t)
+ssize_t LocalSocket::recvfrom(void*, size_t, int flags, sockaddr*, socklen_t*)
{
ASSERT_NOT_REACHED();
}