This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: RHEL4 - rgmanager: Fix log messages for status_* attributes


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=719b4c225faa87ac4e61127612b53ad0fd648a98
Commit:        719b4c225faa87ac4e61127612b53ad0fd648a98
Parent:        a0fde41c5ff521846aeceea4d2ef1d37b0e56615
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Wed Apr 8 13:11:14 2009 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Wed Apr 8 13:11:14 2009 -0400

rgmanager: Fix log messages for status_* attributes

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
 rgmanager/src/daemons/main.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/rgmanager/src/daemons/main.c b/rgmanager/src/daemons/main.c
index ea3f65a..b999c55 100644
--- a/rgmanager/src/daemons/main.c
+++ b/rgmanager/src/daemons/main.c
@@ -681,7 +681,8 @@ configure_logging(int ccsfd)
 		status_poll_interval = atoi(v);
 		if (status_poll_interval >= 1) {
 			clulog(LOG_NOTICE,
-			       "Status Polling Interval set to %d\n", v);
+			       "Status Polling Interval set to %d\n", 
+			       status_poll_interval);
 		} else {
 			clulog(LOG_WARNING, "Ignoring illegal "
 			       "status_poll_interval of %s\n", v);
@@ -696,7 +697,7 @@ configure_logging(int ccsfd)
 		if (status_child_max >= 1) {
 			clulog(LOG_NOTICE,
 			       "Status Child Max set to %d\n",
-			       status_poll_interval);
+			       status_child_max);
 			rg_set_childmax(status_child_max);
 		} else {
 			clulog(LOG_WARNING, "Ignoring illegal "


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]