summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-06-12 02:24:38 +0000
committerEric Andersen <andersen@codepoet.org>2002-06-12 02:24:38 +0000
commitada0e0b37f93c7e5cecefaeeb61917872760a066 (patch)
tree389d1379d407469401fd85ca01404d23c3ee2406 /libc
parent6af59d0d232e33b2be61a6dc96e7918993dd28d5 (diff)
Yipe. As Joseph Chiu noticed, sockvec is supposed to be an int*
not an int.
Diffstat (limited to 'libc')
-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])
{