public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - cman: change environment variable to CMAN_DEBUG
@ 2009-03-27 8:58 Christine Caulfield
0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2009-03-27 8:58 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=1588f4cb84492d85dd6dda95ac5560ebf337b3f8
Commit: 1588f4cb84492d85dd6dda95ac5560ebf337b3f8
Parent: 9a54d81993c0925a00a269bde2bab3c95310b009
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Fri Mar 27 08:56:48 2009 +0000
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Fri Mar 27 08:56:48 2009 +0000
cman: change environment variable to CMAN_DEBUG
... for consistency
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/cman_tool/join.c | 2 +-
cman/daemon/cman-preconfig.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cman/cman_tool/join.c b/cman/cman_tool/join.c
index 9c78937..78f8c52 100644
--- a/cman/cman_tool/join.c
+++ b/cman/cman_tool/join.c
@@ -166,7 +166,7 @@ int join(commandline_t *comline, char *main_envp[])
envp[envptr++] = strdup(scratch);
}
if (comline->verbose ^ DEBUG_STARTUP_ONLY) {
- snprintf(scratch, sizeof(scratch), "CMAN_DEBUGLOG=%d", comline->verbose);
+ snprintf(scratch, sizeof(scratch), "CMAN_DEBUG=%d", comline->verbose);
envp[envptr++] = strdup(scratch);
}
if (comline->noconfig_opt) {
diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index 93e940a..22ab959 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -493,8 +493,8 @@ static int get_env_overrides()
expected_votes = 1;
votes = 1;
}
- if (getenv("CMAN_DEBUGLOG")) {
- debug_mask = atoi(getenv("CMAN_DEBUGLOG"));
+ if (getenv("CMAN_DEBUG")) {
+ debug_mask = atoi(getenv("CMAN_DEBUG"));
}
return 0;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-27 8:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-27 8:58 cluster: STABLE3 - cman: change environment variable to CMAN_DEBUG Christine Caulfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).