From c3b919783e16534f3dcb0844174503e77f90d707 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Fri, 16 Jul 2010 08:54:15 +0000 Subject: fix the clang errors reported in trace.c Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 1072 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1072 --- xlators/debug/trace/src/trace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xlators/debug/trace/src/trace.c') diff --git a/xlators/debug/trace/src/trace.c b/xlators/debug/trace/src/trace.c index b9372c244..7f8681ea7 100644 --- a/xlators/debug/trace/src/trace.c +++ b/xlators/debug/trace/src/trace.c @@ -246,7 +246,7 @@ trace_writev_cbk (call_frame_t *frame, void *cookie, xlator_t *this, if (trace_fop_names[GF_FOP_WRITE].enabled) { if (op_ret >= 0) { preopstr = trace_stat_to_str (prebuf); - preopstr = trace_stat_to_str (postbuf); + postopstr = trace_stat_to_str (postbuf); gf_log (this->name, GF_LOG_NORMAL, "%"PRId64": (op_ret=%d, ino = %"PRIu64 @@ -315,7 +315,7 @@ trace_fsync_cbk (call_frame_t *frame, void *cookie, xlator_t *this, if (trace_fop_names[GF_FOP_FSYNC].enabled) { if (op_ret >= 0) { preopstr = trace_stat_to_str (prebuf); - preopstr = trace_stat_to_str (postbuf); + postopstr = trace_stat_to_str (postbuf); gf_log (this->name, GF_LOG_NORMAL, "%"PRId64": (op_ret=%d, ino = %"PRIu64 @@ -717,7 +717,7 @@ trace_mkdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this, if (op_ret >= 0) { statstr = trace_stat_to_str (buf); preparentstr = trace_stat_to_str (preparent); - preparentstr = trace_stat_to_str (postparent); + postparentstr = trace_stat_to_str (postparent); gf_log (this->name, GF_LOG_NORMAL, "%"PRId64": (op_ret=%d, ino = %"PRIu64 -- cgit