diff options
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c b/xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c index 662aba6e724..da8c909a14b 100644 --- a/xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c +++ b/xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c @@ -14,6 +14,7 @@ #include "glusterd-conn-mgmt.h" #include "glusterd-conn-helper.h" #include "glusterd-utils.h" +#include "glusterd-messages.h" int glusterd_conn_init (glusterd_conn_t *conn, char *sockpath, @@ -30,7 +31,8 @@ glusterd_conn_init (glusterd_conn_t *conn, char *sockpath, svc = glusterd_conn_get_svc_object (conn); if (!svc) { - gf_log (this->name, GF_LOG_ERROR, "Failed to get the service"); + gf_msg (this->name, GF_LOG_ERROR, 0, + GD_MSG_SVC_GET_FAIL, "Failed to get the service"); goto out; } |