summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");