Blob Blame History Raw
From 0eeda63e0092c39a357bdf4b3e6a148623da7a96 Mon Sep 17 00:00:00 2001
From: Kotresh HR <khiremat@redhat.com>
Date: Mon, 29 Aug 2016 12:40:48 +0530
Subject: [PATCH 25/86] glusterd: Fix msgid in mountbroker logs

Fix declared but not used msgid in mountbroker
logs.

>Change-Id: I68d331f2741726624f647a8bc437e1ebcddd038f
>Signed-off-by: Kotresh HR <khiremat@redhat.com>
>BUG: 1346138
>Reviewed-on: http://review.gluster.org/15333
>Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
>NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
>CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
>Smoke: Gluster Build System <jenkins@build.gluster.org>

Change-Id: I68d331f2741726624f647a8bc437e1ebcddd038f
Signed-off-by: Kotresh HR <khiremat@redhat.com>
BUG: 1359607
Reviewed-on: https://code.engineering.redhat.com/gerrit/84662
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Tested-by: Atin Mukherjee <amukherj@redhat.com>
---
 xlators/mgmt/glusterd/src/glusterd-mountbroker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xlators/mgmt/glusterd/src/glusterd-mountbroker.c b/xlators/mgmt/glusterd/src/glusterd-mountbroker.c
index f992adc..b7db3bd 100644
--- a/xlators/mgmt/glusterd/src/glusterd-mountbroker.c
+++ b/xlators/mgmt/glusterd/src/glusterd-mountbroker.c
@@ -553,7 +553,7 @@ glusterd_do_mount (char *label, dict_t *argdict, char **path, int *op_errno)
         if (!*label) {
                 *op_errno = EINVAL;
                 gf_msg (this->name, GF_LOG_ERROR, *op_errno,
-                        GD_MSG_MNTBROKER_LABEL_MISS,
+                        GD_MSG_MNTBROKER_LABEL_NULL,
                         "label is NULL (%s)",
                         strerror (*op_errno));
                 goto out;
-- 
1.7.1