summaryrefslogtreecommitdiffstats
path: root/libc/inet/getaddrinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/getaddrinfo.c')
-rw-r--r--libc/inet/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c
index 2dd14d78f..a85e2ff5e 100644
--- a/libc/inet/getaddrinfo.c
+++ b/libc/inet/getaddrinfo.c
@@ -159,7 +159,7 @@ static int addrconfig (sa_family_t af)
int s;
int ret;
int saved_errno = errno;
- s = socket(af, SOCK_DGRAM, 0);
+ s = __socket(af, SOCK_DGRAM, 0);
if (s < 0)
ret = (errno == EMFILE) ? 1 : 0;
else