From 00184fc2d0297790359e94ea9bd266bfdc0a7954 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Mon, 29 Aug 2011 13:11:58 -0400 Subject: [PATCH] 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 --- utils/statd/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /* -- 2.39.2