summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-04-13 02:24:49 +0000
committerAnand Avati <avati@gluster.com>2011-05-20 11:01:54 -0700
commit19b08a3b627cb8a7f74fc608bfcaddc4e063aa6f (patch)
treeba7c7afafe0bd34b6132d3db083c06061f66308d /xlators/cluster
parent2cd8411a0278f98ed820aad3e482de079d0540c0 (diff)
replicate: print favorite child as an int instead of unsigned int
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2668 ([glusterfs-3.2.9qa7]: createbench error) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2668
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c
index b1dd649ae0d..a50cf4587dd 100644
--- a/xlators/cluster/afr/src/afr-common.c
+++ b/xlators/cluster/afr/src/afr-common.c
@@ -2448,7 +2448,7 @@ afr_priv_dump (xlator_t *this)
gf_proc_dump_build_key(key, key_prefix, "read_child");
gf_proc_dump_write(key, "%d", priv->read_child);
gf_proc_dump_build_key(key, key_prefix, "favorite_child");
- gf_proc_dump_write(key, "%u", priv->favorite_child);
+ gf_proc_dump_write(key, "%d", priv->favorite_child);
gf_proc_dump_build_key(key, key_prefix, "data_lock_server_count");
gf_proc_dump_write(key, "%u", priv->data_lock_server_count);
gf_proc_dump_build_key(key, key_prefix, "metadata_lock_server_count");