cluster: RHEL6 - cman: fix a couple of comments

Fabio M. Di Nitto fabbione at fedoraproject.org
Tue Jul 24 09:01:45 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=293c73fc93fb82cc427c37df0c088ff39cf25f4c
Commit:        293c73fc93fb82cc427c37df0c088ff39cf25f4c
Parent:        fa9267535f7bbb49dcc766f87f35502dfa623847
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Thu Jul 12 13:00:27 2012 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Tue Jul 24 11:01:01 2012 +0200

cman: fix a couple of comments

Related: rhbz#839241

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie at redhat.com>
---
 cman/daemon/cman-preconfig.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index 321d78f..99ee80d 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -1538,7 +1538,7 @@ static int cmanpre_reloadconfig(struct objdb_iface_ver0 *objdb, int flush, const
 	objdb->object_destroy(cluster_parent_handle);
 
 	/*
-	 * create cluster.cman in the new config if it doesn't exists
+	 * create cluster.cman in the new config if it doesn't exist
 	 */
 	objdb->object_find_create(cluster_parent_handle_new, "cman", strlen("cman"), &find_handle);
 	if (objdb->object_find_next(find_handle, &object_handle)) {
@@ -1548,7 +1548,7 @@ static int cmanpre_reloadconfig(struct objdb_iface_ver0 *objdb, int flush, const
 	objdb->object_find_destroy(find_handle);
 
 	/*
-	 * readd cluster_id/two_node/nodename
+	 * write cluster_id/two_node/nodename
 	 */
 	snprintf(str, sizeof(str) - 1, "%d", cluster_id);
 	objdb->object_key_create_typed(object_handle, "cluster_id",


More information about the cluster-commits mailing list