From: Chuck Lever Date: Mon, 29 Aug 2011 17:11:58 +0000 (-0400) Subject: statd: Report count of loaded hosts correctly X-Git-Tag: nfs-utils-1-2-5-rc2~4 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=7b00283f5a6f8b1d3d1acece1da6df1c30cb6279;p=nfs-utils.git statd: Report count of loaded hosts correctly Fix a debugging message to report correctly the count of hosts loaded when statd starts up. Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson --- diff --git a/utils/statd/monitor.c b/utils/statd/monitor.c index 325dfd3..286a5e2 100644 --- a/utils/statd/monitor.c +++ b/utils/statd/monitor.c @@ -249,7 +249,7 @@ void load_state(void) count = nsm_load_monitor_list(load_one_host); if (count) - xlog(D_GENERAL, "Loaded %u previously monitored hosts"); + xlog(D_GENERAL, "Loaded %u previously monitored hosts", count); } /*