summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/get_myaddress.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 21:01:23 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 21:01:23 +0000
commit77ccb5b1dca86acdc7c75abc5bb469da41872a20 (patch)
tree13fb13805ef3018a0a12f102f72ce2c61532fde3 /libc/inet/rpc/get_myaddress.c
parent7a3dea048d88faa3bbe1c99bcf3fdb98eabae52d (diff)
mmap/mremap/socket/rewind gone
Diffstat (limited to 'libc/inet/rpc/get_myaddress.c')
-rw-r--r--libc/inet/rpc/get_myaddress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/get_myaddress.c b/libc/inet/rpc/get_myaddress.c
index 51674656e..bdbafa44d 100644
--- a/libc/inet/rpc/get_myaddress.c
+++ b/libc/inet/rpc/get_myaddress.c
@@ -65,7 +65,7 @@ get_myaddress (struct sockaddr_in *addr)
struct ifreq ifreq, *ifr;
int len, loopback = 0;
- if ((s = socket (AF_INET, SOCK_DGRAM, 0)) < 0)
+ if ((s = __socket (AF_INET, SOCK_DGRAM, 0)) < 0)
{
__perror ("get_myaddress: socket");
exit (1);