summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.lockd
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2004-02-17 00:13:59 +0000
committeralfred <alfred@FreeBSD.org>2004-02-17 00:13:59 +0000
commit3ae5306cbc7344c3fae786db46d92a0fc16fa094 (patch)
treeb67ce68050c5bf90a5804696d2c6131d54ace418 /usr.sbin/rpc.lockd
parent6fd2831bd0d98812243a2b8cdefde3001811ecab (diff)
downloadFreeBSD-src-3ae5306cbc7344c3fae786db46d92a0fc16fa094.zip
FreeBSD-src-3ae5306cbc7344c3fae786db46d92a0fc16fa094.tar.gz
The callrpc call to unmonitor hosts was passing the wrong xdr
decode/encode functions for the arguments to the statd unmonitor call. Fix it.
Diffstat (limited to 'usr.sbin/rpc.lockd')
-rw-r--r--usr.sbin/rpc.lockd/lockd_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.lockd/lockd_lock.c b/usr.sbin/rpc.lockd/lockd_lock.c
index e82877f..68aa159 100644
--- a/usr.sbin/rpc.lockd/lockd_lock.c
+++ b/usr.sbin/rpc.lockd/lockd_lock.c
@@ -2099,8 +2099,8 @@ unmonitor_lock_host(char *hostname)
smon_id.my_id.my_proc = NLM_SM_NOTIFY;
rpcret = callrpc("localhost", SM_PROG, SM_VERS, SM_UNMON,
- (xdrproc_t)xdr_mon, &smon_id,
- (xdrproc_t)xdr_sm_stat_res, &smstat);
+ (xdrproc_t)xdr_mon_id, &smon_id,
+ (xdrproc_t)xdr_sm_stat, &smstat);
if (rpcret != 0) {
debuglog("Rpc call to unmonitor statd failed with "
OpenPOWER on IntegriCloud