]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
statd: Report count of loaded hosts correctly
authorChuck Lever <chuck.lever@oracle.com>
Mon, 29 Aug 2011 17:11:58 +0000 (13:11 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 29 Aug 2011 17:43:27 +0000 (13:43 -0400)
Fix a debugging message to report correctly the count of hosts loaded
when statd starts up.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/statd/monitor.c

index 325dfd3ac8bb3c12b7b6ab07b6b97923d46bd615..286a5e21e173442c6445f109ffe82765ea4bfdaf 100644 (file)
@@ -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);
 }
 
 /*