summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/svc_tcp.c')
-rw-r--r--libc/inet/rpc/svc_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c
index b3cd83fa8..2638d55be 100644
--- a/libc/inet/rpc/svc_tcp.c
+++ b/libc/inet/rpc/svc_tcp.c
@@ -166,7 +166,7 @@ svctcp_create (int sock, u_int sendsize, u_int recvsize)
if (sock == RPC_ANYSOCK)
{
- if ((sock = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0)
+ if ((sock = __socket (AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0)
{
__perror (_("svc_tcp.c - tcp socket creation problem"));
return (SVCXPRT *) NULL;