diff options
author | des <des@FreeBSD.org> | 2002-04-28 15:18:50 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-04-28 15:18:50 +0000 |
commit | e48f76df853e520cafc8b0a6237838fa12f69ea3 (patch) | |
tree | d7c3c2d08e4ff1d59c15bcb1a7ee8e74f001cb1d /usr.sbin/ypbind/yp_ping.c | |
parent | 905d923df1beb294d386944f9fb3085807aefa0e (diff) | |
download | FreeBSD-src-e48f76df853e520cafc8b0a6237838fa12f69ea3.zip FreeBSD-src-e48f76df853e520cafc8b0a6237838fa12f69ea3.tar.gz |
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
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 9252a74..9e77d16 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) { |