cluster: RHEL510 - cman: enable and document logging of CMAN subsystem (additional fix)

Jan Pokorný jpokorny at fedoraproject.org
Mon May 20 18:53:12 UTC 2013


Gitweb:        http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=1d7a0335016cae0246f455a707f78bfc5d1ff880
Commit:        1d7a0335016cae0246f455a707f78bfc5d1ff880
Parent:        7473b8cf0199b7f0e819cd78bd53f215ed371095
Author:        Jan Pokorný <jpokorny at redhat.com>
AuthorDate:    Mon May 20 20:51:42 2013 +0200
Committer:     Jan Pokorný <jpokorny at redhat.com>
CommitterDate: Mon May 20 20:51:42 2013 +0200

cman: enable and document logging of CMAN subsystem (additional fix)

Related: rhbz#963251

Signed-off-by: Jan Pokorný <jpokorny at redhat.com>
---
 cman/daemon/logging.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cman/daemon/logging.c b/cman/daemon/logging.c
index 4f6e731..44c3d0f 100644
--- a/cman/daemon/logging.c
+++ b/cman/daemon/logging.c
@@ -81,6 +81,7 @@ void log_debug(int subsys, int stamp, const char *fmt, ...)
 			strcpy(newfmt, "ais: ");
 			break;
 		default:
+			newfmt[0] = '\0';
 			break;
 		}
 	}


More information about the cluster-commits mailing list