summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/common-utils.h
diff options
context:
space:
mode:
authorMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2015-06-25 12:52:57 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-06-26 21:47:08 -0700
commit43aea2da863d94079dbf4dfceabee41a0be67ef7 (patch)
tree770d4fb7e2c156565e67ee612f44e7c6a41b774b /libglusterfs/src/common-utils.h
parent06d5085f8ab222c10df1980ca23919c0e34284a1 (diff)
common-utils/libglusterfs : removing strerror to avoid duplicate printing of error message
Change-Id: I0a1c99ae7a2efc657e3465b21dd238e725ae236c BUG: 1194640 Signed-off-by: Mohamed Ashiq Liyazudeen <mliyazud@redhat.com> Reviewed-on: http://review.gluster.org/11400 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs/src/common-utils.h')
-rw-r--r--libglusterfs/src/common-utils.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h
index cdd5e45c3e2..86ea42ee849 100644
--- a/libglusterfs/src/common-utils.h
+++ b/libglusterfs/src/common-utils.h
@@ -276,8 +276,7 @@ int gf_set_log_ident (cmd_args_t *cmd_args);
gf_msg (this->name, GF_LOG_ERROR, op_errno, \
LG_MSG_NO_PERM, \
"attempt to set internal" \
- " xattr: %s: %s", pattern, \
- strerror (op_errno)); \
+ " xattr: %s", pattern); \
goto label; \
} \
} while (0)