diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-04-28 15:18:50 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-04-28 15:18:50 +0000 |
commit | f249dbcc7149848de00cd8f4e93fe140dfa3f219 (patch) | |
tree | d7c3c2d08e4ff1d59c15bcb1a7ee8e74f001cb1d /usr.sbin/ypbind/yp_ping.c | |
parent | 6c28b67b1e004e45f13067a61ca68a011848b065 (diff) | |
download | src-f249dbcc7149848de00cd8f4e93fe140dfa3f219.tar.gz src-f249dbcc7149848de00cd8f4e93fe140dfa3f219.zip |
Spell void * as void * rather than caddr_t. This is complicated by the
fact that caddr_t is often misspelled as char *.
Sponsored by: DARPA, NAI Labs
Notes
Notes:
svn path=/head/; revision=95658
Diffstat (limited to 'usr.sbin/ypbind/yp_ping.c')
-rw-r--r-- | usr.sbin/ypbind/yp_ping.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ypbind/yp_ping.c b/usr.sbin/ypbind/yp_ping.c index 9252a7462478..9e77d16fc468 100644 --- a/usr.sbin/ypbind/yp_ping.c +++ b/usr.sbin/ypbind/yp_ping.c @@ -147,8 +147,10 @@ __pmap_getport(struct sockaddr_in *address, u_long program, u_long version, parms.pm_vers = version; parms.pm_prot = protocol; parms.pm_port = 0; /* not needed or used */ - if (CLNT_CALL(client, PMAPPROC_GETPORT, xdr_pmap, &parms, - xdr_u_short, &port, tottimeout) != RPC_SUCCESS){ + if (CLNT_CALL(client, PMAPPROC_GETPORT, + (xdrproc_t)xdr_pmap, &parms, + (xdrproc_t)xdr_u_short, &port, + tottimeout) != RPC_SUCCESS){ rpc_createerr.cf_stat = RPC_PMAPFAILURE; clnt_geterr(client, &rpc_createerr.cf_error); } else if (port == 0) { |