summaryrefslogtreecommitdiffstats
path: root/libexec/rpc.sprayd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rpc.sprayd')
-rw-r--r--libexec/rpc.sprayd/sprayd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rpc.sprayd/sprayd.c b/libexec/rpc.sprayd/sprayd.c
index 38d2135..fd45939 100644
--- a/libexec/rpc.sprayd/sprayd.c
+++ b/libexec/rpc.sprayd/sprayd.c
@@ -138,7 +138,7 @@ spray_service(struct svc_req *rqstp, SVCXPRT *transp)
/*FALLTHROUGH*/
case NULLPROC:
- (void)svc_sendreply(transp, xdr_void, (char *)NULL);
+ (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL);
return;
case SPRAYPROC_SPRAY:
@@ -157,7 +157,7 @@ spray_service(struct svc_req *rqstp, SVCXPRT *transp)
return;
}
- if (!svc_sendreply(transp, xdr_spraycumul, (caddr_t)&scum)) {
+ if (!svc_sendreply(transp, (xdrproc_t)xdr_spraycumul, &scum)) {
svcerr_systemerr(transp);
syslog(LOG_ERR, "bad svc_sendreply");
}
OpenPOWER on IntegriCloud