summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSheetal Pamecha <sheetal.pamecha08@gmail.com>2018-09-18 16:34:07 +0530
committerAmar Tumballi <amarts@redhat.com>2018-09-21 05:17:09 +0000
commit30bfd1eb411fd762c36b77693da7ea6d73ea31c1 (patch)
treec58ce15ebc966cc105bc170f28aa5c08f4f9798c
parentbbcec1a1caf95aad581083e7131feda04295f299 (diff)
downloadglusterfs-30bfd1eb411fd762c36b77693da7ea6d73ea31c1.tar.gz
glusterfs-30bfd1eb411fd762c36b77693da7ea6d73ea31c1.tar.xz
glusterfs-30bfd1eb411fd762c36b77693da7ea6d73ea31c1.zip
ctr: NULL pointer dereferencing clang fix
Replaced this->name with "ctr" Updates: bz#1622665 Change-Id: I49af42a5d77c98ffb34224c8800757b8986012ea Signed-off-by: Sheetal Pamecha <sheetal.pamecha08@gmail.com>
-rw-r--r--xlators/features/changetimerecorder/src/changetimerecorder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/changetimerecorder/src/changetimerecorder.c b/xlators/features/changetimerecorder/src/changetimerecorder.c
index 04b89e5a54..9064c2c96d 100644
--- a/xlators/features/changetimerecorder/src/changetimerecorder.c
+++ b/xlators/features/changetimerecorder/src/changetimerecorder.c
@@ -2098,7 +2098,7 @@ init(xlator_t *this)
int ret_db = -1;
if (!this) {
- gf_msg(this->name, GF_LOG_ERROR, 0, CTR_MSG_FATAL_ERROR,
+ gf_msg("ctr", GF_LOG_ERROR, 0, CTR_MSG_FATAL_ERROR,
"FATAL: ctr this is not initialized");
return -1;
}