From 38872801d1718e4fb171b5031bea9fbf75da097c Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 11 Aug 2006 21:44:53 +0000 Subject: [PATCH] (sm_mon_1_svc): Fix debugging output: when establising a monitoring request, correctly report the location (usually localhost) to which a callback will be made when a notification is received for the monitored host. Previsouly, the name of the monitored host was reported instead. MFC after: 2 weeks --- usr.sbin/rpc.statd/procs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rpc.statd/procs.c b/usr.sbin/rpc.statd/procs.c index eed784959152..5a56441338a1 100644 --- a/usr.sbin/rpc.statd/procs.c +++ b/usr.sbin/rpc.statd/procs.c @@ -158,8 +158,9 @@ struct sm_stat_res *sm_mon_1_svc(mon *arg, struct svc_req *req) { syslog(LOG_DEBUG, "monitor request for host %s", arg->mon_id.mon_name); syslog(LOG_DEBUG, "recall host: %s prog: %d ver: %d proc: %d", - arg->mon_id.mon_name, - arg->mon_id.my_id.my_prog, arg->mon_id.my_id.my_vers, + arg->mon_id.my_id.my_name, + arg->mon_id.my_id.my_prog, + arg->mon_id.my_id.my_vers, arg->mon_id.my_id.my_proc); } res.res_stat = stat_fail; /* Assume fail until set otherwise */