diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2010-07-16 08:54:15 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-19 05:10:44 -0700 |
commit | c3b919783e16534f3dcb0844174503e77f90d707 (patch) | |
tree | 16ac9a279fea5baf7c1fef33594203a8d9058de1 /xlators/debug/trace/src | |
parent | ce0e4c3d6eb710f29cb02166fdfa9e6afb013df6 (diff) |
fix the clang errors reported in trace.c
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1072 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1072
Diffstat (limited to 'xlators/debug/trace/src')
-rw-r--r-- | xlators/debug/trace/src/trace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/debug/trace/src/trace.c b/xlators/debug/trace/src/trace.c index b9372c244c4..7f8681ea75a 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 |