diff options
author | dfr <dfr@FreeBSD.org> | 2008-08-25 09:36:17 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2008-08-25 09:36:17 +0000 |
commit | b9dfa1bea1499464580f487113b117b5667d7fd4 (patch) | |
tree | 51c57e484cae6ff601f3778205fe95d0c2c6f631 /sys/nlm | |
parent | 1a7416c9dd48f4af524dd469a388323e0fe1faf2 (diff) | |
download | FreeBSD-src-b9dfa1bea1499464580f487113b117b5667d7fd4.zip FreeBSD-src-b9dfa1bea1499464580f487113b117b5667d7fd4.tar.gz |
Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with
the other 'struct pmap'.
Pointed out by: kmacy
MFC after: 2 weeks
Diffstat (limited to 'sys/nlm')
-rw-r--r-- | sys/nlm/nlm_prot_impl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nlm/nlm_prot_impl.c b/sys/nlm/nlm_prot_impl.c index ec6563a..831d330 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) { |