glusterd: NULL pointer dereferencing clang fix
Added ternary operator to avoid this issue Updates: bz#1622665 Change-Id: I163d0628304a0d61249d1d97a4a3d3bee4ba4927 Signed-off-by: Sheetal Pamecha <sheetal.pamecha08@gmail.com>
This commit is contained in:
parent
cd29723ab1
commit
a12bdfa72a
@ -201,6 +201,6 @@ manager:
|
||||
ret = priv->bitd_svc.manager(&(priv->bitd_svc), NULL, PROC_START_NO_WAIT);
|
||||
|
||||
out:
|
||||
gf_msg_debug(this->name, 0, "Returning %d", ret);
|
||||
gf_msg_debug(this ? this->name : "glusterd", 0, "Returning %d", ret);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user