summaryrefslogtreecommitdiff
path: root/libc/inet/socketcalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/socketcalls.c')
-rw-r--r--libc/inet/socketcalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/socketcalls.c b/libc/inet/socketcalls.c
index eae330a08..3701e6c71 100644
--- a/libc/inet/socketcalls.c
+++ b/libc/inet/socketcalls.c
@@ -324,7 +324,7 @@ int socket(int family, int type, int protocol)
#ifdef L_socketpair
#ifdef __NR_socketpair
-_syscall4(int, socketpair, int, family, int, type, int, protocol, int, sockvec[2]);
+_syscall4(int, socketpair, int, family, int, type, int, protocol, int *, sockvec);
#else
int socketpair(int family, int type, int protocol, int sockvec[2])
{