aboutsummaryrefslogtreecommitdiff
path: root/sys/nlm
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2008-08-25 09:36:17 +0000
committerDoug Rabson <dfr@FreeBSD.org>2008-08-25 09:36:17 +0000
commit710668615af4b786dae271625bb3fdaea1d22eff (patch)
tree51c57e484cae6ff601f3778205fe95d0c2c6f631 /sys/nlm
parentd9ab5c4abf9e722a4985044dffaeab1bb09c3c88 (diff)
Notes
Diffstat (limited to 'sys/nlm')
-rw-r--r--sys/nlm/nlm_prot_impl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nlm/nlm_prot_impl.c b/sys/nlm/nlm_prot_impl.c
index ec6563a7881f3..831d330333822 100644
--- a/sys/nlm/nlm_prot_impl.c
+++ b/sys/nlm/nlm_prot_impl.c
@@ -294,7 +294,7 @@ nlm_get_rpc(struct sockaddr *sa, rpcprog_t prog, rpcvers_t vers)
enum clnt_stat stat = RPC_SUCCESS;
int rpcvers = RPCBVERS4;
bool_t do_tcp = FALSE;
- struct pmap mapping;
+ struct portmap mapping;
u_short port = 0;
/*
@@ -392,7 +392,7 @@ again:
mapping.pm_port = 0;
stat = CLNT_CALL(rpcb, (rpcprog_t) PMAPPROC_GETPORT,
- (xdrproc_t) xdr_pmap, &mapping,
+ (xdrproc_t) xdr_portmap, &mapping,
(xdrproc_t) xdr_u_short, &port, timo);
if (stat == RPC_SUCCESS) {