summaryrefslogtreecommitdiffstats
path: root/src/lib/rpc/clnt_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rpc/clnt_udp.c')
-rw-r--r--src/lib/rpc/clnt_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rpc/clnt_udp.c b/src/lib/rpc/clnt_udp.c
index 074b576e4..7a5191659 100644
--- a/src/lib/rpc/clnt_udp.c
+++ b/src/lib/rpc/clnt_udp.c
@@ -187,7 +187,7 @@ clntudp_bufcreate(
goto fooy;
}
/* attempt to bind to prov port */
- (void)bindresvport(*sockp, (struct sockaddr_in *)0);
+ (void)bindresvport_sa(*sockp, NULL);
/* the sockets rpc controls are non-blocking */
(void)ioctl(*sockp, FIONBIO, (char *) &dontblock);
cu->cu_closeit = TRUE;