cluster: RHEL48 - rgmanager: Fix log messages for status_* attributes
Lon Hohberger
lon@fedoraproject.org
Wed Apr 8 17:16:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=c1ec78cd859a799199dbce4135074769f62362ce
Commit: c1ec78cd859a799199dbce4135074769f62362ce
Parent: 5dcf227a7627261757e67e1ed8ca833d1596aab5
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:15:49 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 "
More information about the Cluster-cvs
mailing list