[Sheepdog] [PATCH] sheep: use correct length for cpg_name

zituan at taobao.com zituan at taobao.com
Thu Oct 27 03:54:11 CEST 2011


From: Yibin Shen <zituan at taobao.com>


Signed-off-by: Yibin Shen <zituan at taobao.com>
---
 sheep/cluster/corosync.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sheep/cluster/corosync.c b/sheep/cluster/corosync.c
index 5d84856..2edd90e 100644
--- a/sheep/cluster/corosync.c
+++ b/sheep/cluster/corosync.c
@@ -23,7 +23,7 @@ struct cpg_node {
 };
 
 static cpg_handle_t cpg_handle;
-static struct cpg_name cpg_group = { 9, "sheepdog" };
+static struct cpg_name cpg_group = { 8, "sheepdog" };
 
 static corosync_cfg_handle_t cfg_handle;
 static struct cpg_node this_node;
-- 
1.7.7.1




More information about the sheepdog mailing list