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>
This commit is contained in:
Sheetal Pamecha 2018-09-18 16:34:07 +05:30 committed by Amar Tumballi
parent bbcec1a1ca
commit 30bfd1eb41

View File

@ -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;
}