summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-geo-rep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
index 075fdf74369..b550d373ed2 100644
--- a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
+++ b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
@@ -1342,7 +1342,7 @@ out:
if (slave_host)
GF_FREE(slave_host);
- gf_msg_debug(this->name, 0, "Returning %d.", ret);
+ gf_msg_debug(this ? this->name : "glusterd", 0, "Returning %d.", ret);
return ret;
}