summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/iobuf.c
diff options
context:
space:
mode:
authorKaushik BV <kaushikbv@gluster.com>2010-08-30 01:33:14 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-08-30 00:50:38 -0700
commita2dd1e8702eb8dc7234d8262e34182adf1f0573c (patch)
tree741f25d9318560a883cf402c23a108bc1b755681 /libglusterfs/src/iobuf.c
parentfb3cb751f18a931d2a61d168fa13bf8ec3b45e1a (diff)
Provides the ability to filter the output of state dump
Signed-off-by: Kaushik BV <kaushikbv@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 828 (glusterdump filled up the /) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=828
Diffstat (limited to 'libglusterfs/src/iobuf.c')
-rw-r--r--libglusterfs/src/iobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/iobuf.c b/libglusterfs/src/iobuf.c
index e39976945..b25a94e7f 100644
--- a/libglusterfs/src/iobuf.c
+++ b/libglusterfs/src/iobuf.c
@@ -699,7 +699,7 @@ iobuf_stats_dump (struct iobuf_pool *iobuf_pool)
{
char msg[1024];
- struct iobuf_arena *trav;
+ struct iobuf_arena *trav = NULL;
int i = 1;
int ret = -1;