From ada0e0b37f93c7e5cecefaeeb61917872760a066 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 12 Jun 2002 02:24:38 +0000 Subject: Yipe. As Joseph Chiu noticed, sockvec is supposed to be an int* not an int. --- libc/inet/socketcalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/inet/socketcalls.c') 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]) { -- cgit v1.2.3