summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker-quota-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/marker/src/marker-quota-helper.c')
-rw-r--r--xlators/features/marker/src/marker-quota-helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker-quota-helper.c b/xlators/features/marker/src/marker-quota-helper.c
index 92d4094e7f8..1fbadcfe9d3 100644
--- a/xlators/features/marker/src/marker-quota-helper.c
+++ b/xlators/features/marker/src/marker-quota-helper.c
@@ -305,7 +305,8 @@ mq_dict_set_contribution (xlator_t *this, dict_t *dict, loc_t *loc,
out:
if (ret < 0)
- gf_log_callingfn (this->name, GF_LOG_ERROR, "dict set failed");
+ gf_log_callingfn (this ? this->name : "Marker",
+ GF_LOG_ERROR, "dict set failed");
return ret;
}