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

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Oct 27 04:24:22 CEST 2011


At Thu, 27 Oct 2011 09:54:11 +0800,
zituan at taobao.com wrote:
> 
> 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(-)

Applied, thanks!

Kazutaka

> 
> 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
> 
> -- 
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog



More information about the sheepdog mailing list