aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.statd/procs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rpc.statd/procs.c')
-rw-r--r--usr.sbin/rpc.statd/procs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.statd/procs.c b/usr.sbin/rpc.statd/procs.c
index 8109c9cea73c..eed784959152 100644
--- a/usr.sbin/rpc.statd/procs.c
+++ b/usr.sbin/rpc.statd/procs.c
@@ -409,8 +409,8 @@ void *sm_notify_1_svc(stat_chge *arg, struct svc_req *req __unused)
}
else
{
- if (clnt_call(cli, lp->notifyProc, xdr_sm_status, &tx_arg, xdr_void,
- &dummy, timeout) != RPC_SUCCESS)
+ if (clnt_call(cli, lp->notifyProc, (xdrproc_t)xdr_sm_status, &tx_arg,
+ (xdrproc_t)xdr_void, &dummy, timeout) != RPC_SUCCESS)
{
syslog(LOG_ERR, "Failed to call rpc.statd client at host %s",
lp->notifyHost);