public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: Christine Caulfield <chrissie@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: cluster: STABLE3 - cman: change environment variable to CMAN_DEBUG Date: Fri, 27 Mar 2009 08:58:00 -0000 [thread overview] Message-ID: <20090327085744.C9D1F120326@lists.fedorahosted.org> (raw) 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;
reply other threads:[~2009-03-27 8:58 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090327085744.C9D1F120326@lists.fedorahosted.org \ --to=chrissie@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).