aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.statd/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rpc.statd/file.c')
-rw-r--r--usr.sbin/rpc.statd/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rpc.statd/file.c b/usr.sbin/rpc.statd/file.c
index 4c17e5d56850..991af887e045 100644
--- a/usr.sbin/rpc.statd/file.c
+++ b/usr.sbin/rpc.statd/file.c
@@ -239,7 +239,8 @@ static int notify_one_host(char *hostname)
return (FALSE);
}
- if (clnt_call(cli, SM_NOTIFY, xdr_stat_chge, &arg, xdr_void, &dummy, timeout)
+ if (clnt_call(cli, SM_NOTIFY, (xdrproc_t)xdr_stat_chge, &arg,
+ (xdrproc_t)xdr_void, &dummy, timeout)
!= RPC_SUCCESS)
{
syslog(LOG_ERR, "Failed to contact rpc.statd at host %s", hostname);