[sheepdog] [PATCH stable-0.8 6/6] sheep/cluster: change output format in sheep log
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Tue Mar 18 07:30:59 CET 2014
From: Robin Dong <sanbai at taobao.com>
We have print debug information for 'lock_id' in octal when calling
zk_lock(), so is the zk_unlock().
Signed-off-by: Robin Dong <sanbai at taobao.com>
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
sheep/cluster/zookeeper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sheep/cluster/zookeeper.c b/sheep/cluster/zookeeper.c
index 8cdcf84..3a72cb3 100644
--- a/sheep/cluster/zookeeper.c
+++ b/sheep/cluster/zookeeper.c
@@ -1348,7 +1348,7 @@ create_seq_node:
static void zk_unlock(uint64_t lock_id)
{
lock_table_lookup_release(lock_id);
- sd_debug("unlock %"PRIx64, lock_id);
+ sd_debug("unlock %"PRIu64, lock_id);
}
static int zk_init(const char *option)
--
1.8.1.2
More information about the sheepdog
mailing list