summaryrefslogtreecommitdiff
path: root/libc/inet/if_nametoindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/if_nametoindex.c')
-rw-r--r--libc/inet/if_nametoindex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/if_nametoindex.c b/libc/inet/if_nametoindex.c
index 909cf503a..f3803e56b 100644
--- a/libc/inet/if_nametoindex.c
+++ b/libc/inet/if_nametoindex.c
@@ -32,10 +32,10 @@ static int __opensock(void)
{
int fd;
#ifdef __UCLIBC_HAS_IPV6__
- fd=socket(AF_INET6,SOCK_DGRAM,0);
+ fd=__socket(AF_INET6,SOCK_DGRAM,0);
if (fd<0)
#endif /* __UCLIBC_HAS_IPV6__ */
- fd=socket(AF_INET,SOCK_DGRAM,0);
+ fd=__socket(AF_INET,SOCK_DGRAM,0);
return(fd);
}