diff options
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-statedump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-statedump.c b/xlators/mgmt/glusterd/src/glusterd-statedump.c index e28624c6955..c7ee70df25b 100644 --- a/xlators/mgmt/glusterd/src/glusterd-statedump.c +++ b/xlators/mgmt/glusterd/src/glusterd-statedump.c @@ -35,7 +35,7 @@ glusterd_dump_peer (glusterd_peerinfo_t *peerinfo, char *input_key, int index, uuid_utoa (peerinfo->uuid)); gf_proc_dump_build_key (key, subkey, "hostname"); - gf_proc_dump_write (key, "%d", peerinfo->hostname); + gf_proc_dump_write (key, "%s", peerinfo->hostname); gf_proc_dump_build_key (key, subkey, "port"); gf_proc_dump_write (key, "%d", peerinfo->port); |