[sheepdog] [PATCH] local: fix return type of lnode_cmp

MORITA Kazutaka morita.kazutaka at gmail.com
Tue Jun 18 16:21:09 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

The local driver cannot pass the functional tests without this.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 sheep/cluster/local.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sheep/cluster/local.c b/sheep/cluster/local.c
index 3c9048f..1ff0408 100644
--- a/sheep/cluster/local.c
+++ b/sheep/cluster/local.c
@@ -50,7 +50,7 @@ static char *lnode_to_str(struct local_node *lnode)
 	return s;
 }
 
-static bool lnode_cmp(const struct local_node *a, const struct local_node *b)
+static int lnode_cmp(const struct local_node *a, const struct local_node *b)
 {
 	return node_cmp(&a->node, &b->node);
 }
-- 
1.7.9.5




More information about the sheepdog mailing list