summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/debug/io-stats/src/io-stats.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index 7acc3803107..f79db1ad19a 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -2799,7 +2799,8 @@ reconfigure (xlator_t *this, dict_t *options)
ret = 0;
out:
- gf_log (this->name, GF_LOG_DEBUG, "reconfigure returning %d", ret);
+ gf_log (this ? this->name : "io-stats",
+ GF_LOG_DEBUG, "reconfigure returning %d", ret);
return ret;
}