summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/get_myaddress.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/get_myaddress.c')
-rw-r--r--libc/inet/rpc/get_myaddress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/rpc/get_myaddress.c b/libc/inet/rpc/get_myaddress.c
index 7674a7a46..ef2c2f52e 100644
--- a/libc/inet/rpc/get_myaddress.c
+++ b/libc/inet/rpc/get_myaddress.c
@@ -94,7 +94,7 @@ get_myaddress (struct sockaddr_in *addr)
{
*addr = *((struct sockaddr_in *) &ifr->ifr_addr);
addr->sin_port = htons (PMAPPORT);
- close (s);
+ __close (s);
return;
}
ifr++;
@@ -104,5 +104,5 @@ get_myaddress (struct sockaddr_in *addr)
loopback = 1;
goto again;
}
- close (s);
+ __close (s);
}