summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/debug/trace/src/trace.c6
1 files changed, 3 insertions, 3 deletions
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