rpc.statd(8): Fix 2 cases where syslog() was passed too many args.
authorSascha Wildner <saw@online.de>
Tue, 1 Sep 2009 08:21:37 +0000 (10:21 +0200)
committerSascha Wildner <saw@online.de>
Tue, 1 Sep 2009 08:21:37 +0000 (10:21 +0200)
usr.sbin/rpc.statd/procs.c

index b342cf0..aa90fdd 100644 (file)
@@ -89,7 +89,7 @@ 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_name,
+      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);
   }
@@ -187,7 +187,7 @@ sm_unmon_1_svc(mon_id *arg, struct svc_req *req)
   {
     syslog(LOG_DEBUG, "un-monitor request for host %s", arg->mon_name);
     syslog(LOG_DEBUG, "recall host: %s prog: %d ver: %d proc: %d",
-      arg->mon_name, arg->my_id.my_name, arg->my_id.my_prog,
+      arg->my_id.my_name, arg->my_id.my_prog,
       arg->my_id.my_vers, arg->my_id.my_proc);
   }