summaryrefslogtreecommitdiffstats
path: root/c/src/librpc/src/rpc/clnt_udp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/librpc/src/rpc/clnt_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/librpc/src/rpc/clnt_udp.c b/c/src/librpc/src/rpc/clnt_udp.c
index 304d451d64..b9ead1c56a 100644
--- a/c/src/librpc/src/rpc/clnt_udp.c
+++ b/c/src/librpc/src/rpc/clnt_udp.c
@@ -559,7 +559,7 @@ clntudp_destroy(cl)
register struct cu_data *cu = (struct cu_data *)cl->cl_private;
if (cu->cu_closeit) {
- (void)_close(cu->cu_sock);
+ (void)_RPC_close(cu->cu_sock);
}
XDR_DESTROY(&(cu->cu_outxdrs));
mem_free((caddr_t)cu, (sizeof(*cu) + cu->cu_sendsz + cu->cu_recvsz));