summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2014-07-05 07:09:00 +0530
committerVijay Bellur <vbellur@redhat.com>2014-07-06 21:21:58 -0700
commit2c5eb5c708134218bf756cffeb5167bd03499028 (patch)
tree8a581bfaf5404fca01fe7b3ff961822f3f1bd93d /libglusterfs/src
parent8202705f98d139ef7d691587b9f68cf1db2e397a (diff)
statedump: Don't print mem-type numbers
Change-Id: I381bfa9535fe60c37758761d34b98dbbc4e5f569 BUG: 1114188 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/8239 Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Tested-by: Justin Clift <justin@gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/statedump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/statedump.c b/libglusterfs/src/statedump.c
index 134dbd4f8f5..46008178581 100644
--- a/libglusterfs/src/statedump.c
+++ b/libglusterfs/src/statedump.c
@@ -236,9 +236,9 @@ gf_proc_dump_xlator_mem_info (xlator_t *xl)
sizeof (struct mem_acct))))
continue;
- gf_proc_dump_add_section ("%s.%s - usage-type %d memusage",
- xl->type, xl->name, i);
- gf_proc_dump_write ("type", "%s", xl->mem_acct.rec[i].typestr);
+ gf_proc_dump_add_section ("%s.%s - usage-type %s memusage",
+ xl->type, xl->name,
+ xl->mem_acct.rec[i].typestr);
gf_proc_dump_write ("size", "%u", xl->mem_acct.rec[i].size);
gf_proc_dump_write ("num_allocs", "%u",
xl->mem_acct.rec[i].num_allocs);