From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio M. Di Nitto Date: Tue, 23 Oct 2007 06:49:34 +0200 Subject: [Cluster-devel] [PATCH 2/3] Use right vars to print debugging info In-Reply-To: <11931149753164-git-send-email-> References: <1193114975255-git-send-email-> <11931149753164-git-send-email-> Message-ID: <11931149752477-git-send-email-> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: Fabio M. Di Nitto Signed-off-by: Fabio M. Di Nitto --- :100644 100644 0de3d0c... 6abc618... M cman/daemon/cmanccs.c cman/daemon/cmanccs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cman/daemon/cmanccs.c b/cman/daemon/cmanccs.c index 0de3d0c..6abc618 100644 --- a/cman/daemon/cmanccs.c +++ b/cman/daemon/cmanccs.c @@ -577,7 +577,7 @@ static int get_ccs_join_info(void) if (!error) { int votestmp = atoi(str); if (votestmp < 0 || votestmp > 255) { - log_printf(LOG_ERR, "invalid votes value %d", votes); + log_printf(LOG_ERR, "invalid votes value %d", votestmp); write_cman_pipe("Found invalid votes for node in CCS"); return -EINVAL; } -- 1.5.2.5