summaryrefslogtreecommitdiffstats
path: root/lib/librpcsvc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librpcsvc')
-rw-r--r--lib/librpcsvc/Makefile2
-rw-r--r--lib/librpcsvc/yp_passwd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/librpcsvc/Makefile b/lib/librpcsvc/Makefile
index 077a33e..d6f319d 100644
--- a/lib/librpcsvc/Makefile
+++ b/lib/librpcsvc/Makefile
@@ -12,7 +12,7 @@ RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
OTHERSRCS= rnusers.c rstat.c rwall.c yp_passwd.c yp_update.c
SECRPCSRCS= secretkey.c xcrypt.c
-RPCCOM = rpcgen -C
+RPCCOM = rpcgen -CM
INCDIRS= -I${DESTDIR}/usr/include/rpcsvc -I${DESTDIR}/usr/include
diff --git a/lib/librpcsvc/yp_passwd.c b/lib/librpcsvc/yp_passwd.c
index f3d42b7..26104fb 100644
--- a/lib/librpcsvc/yp_passwd.c
+++ b/lib/librpcsvc/yp_passwd.c
@@ -80,7 +80,7 @@ int _yppasswd(oldpass, newpw)
}
rval = callrpc(server, YPPASSWDPROG, YPPASSWDVERS, YPPASSWDPROC_UPDATE,
- xdr_yppasswd, (char *)&yppasswd, xdr_int, &result);
+ xdr_yppasswd, (char *)&yppasswd, xdr_int, (char *)&result);
free(server);
if (rval || result)
OpenPOWER on IntegriCloud