summaryrefslogtreecommitdiffstats
path: root/xlators/debug
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/debug')
-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 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