From 30bfd1eb411fd762c36b77693da7ea6d73ea31c1 Mon Sep 17 00:00:00 2001 From: Sheetal Pamecha Date: Tue, 18 Sep 2018 16:34:07 +0530 Subject: ctr: NULL pointer dereferencing clang fix Replaced this->name with "ctr" Updates: bz#1622665 Change-Id: I49af42a5d77c98ffb34224c8800757b8986012ea Signed-off-by: Sheetal Pamecha --- xlators/features/changetimerecorder/src/changetimerecorder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit