summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/pmap_rmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/pmap_rmt.c')
-rw-r--r--lib/libc/rpc/pmap_rmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/pmap_rmt.c b/lib/libc/rpc/pmap_rmt.c
index da63488..55ddef9 100644
--- a/lib/libc/rpc/pmap_rmt.c
+++ b/lib/libc/rpc/pmap_rmt.c
@@ -98,7 +98,7 @@ pmap_rmtcall(addr, prog, vers, proc, xdrargs, argsp, xdrres, resp, tout, port_pt
stat = RPC_FAILED;
}
if (socket != -1)
- (void)_libc_close(socket);
+ (void)_close(socket);
addr->sin_port = 0;
return (stat);
}
@@ -408,7 +408,7 @@ done_broad:
if (fds != &readfds)
free(fds);
if (sock >= 0)
- (void)_libc_close(sock);
+ (void)_close(sock);
AUTH_DESTROY(unix_auth);
return (stat);
}
OpenPOWER on IntegriCloud