OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6af59d0
)
Yipe. As Joseph Chiu noticed, sockvec is supposed to be an int*
author
Eric Andersen
<andersen@codepoet.org>
Wed, 12 Jun 2002 02:24:38 +0000
(
02:24
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 12 Jun 2002 02:24:38 +0000
(
02:24
-0000)
not an int.
libc/inet/socketcalls.c
patch
|
blob
|
history
diff --git
a/libc/inet/socketcalls.c
b/libc/inet/socketcalls.c
index
eae330a
..
3701e6c
100644
(file)
--- 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])
{