From 5a8b057f53847d5fe416962bc99a90001967cf34 Mon Sep 17 00:00:00 2001 From: Mohamed Ashiq Liyazudeen Date: Tue, 30 Jun 2015 14:47:22 +0530 Subject: libglusterfs removing strerror in logging Backport of http://review.gluster.org/11464 Cherry picked from 9384a824041aeef0e58644cc9fe71dc7fa13eb35 >Change-Id: I8a0f40834da1151ddaef6139af3782bc076df57e >BUG: 1194640 >Signed-off-by: Mohamed Ashiq Liyazudeen >Reviewed-on: http://review.gluster.org/11464 >Tested-by: Gluster Build System >Tested-by: NetBSD Build System >Reviewed-by: Pranith Kumar Karampuri Change-Id: I8a0f40834da1151ddaef6139af3782bc076df57e BUG: 1217722 Signed-off-by: Mohamed Ashiq Liyazudeen Reviewed-on: http://review.gluster.org/11727 Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Pranith Kumar Karampuri --- libglusterfs/src/common-utils.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libglusterfs/src/common-utils.h') diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index 67728350508..9c197aa67e4 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -300,8 +300,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 remove internal " \ - "xattr: %s: %s", key, \ - strerror (op_errno)); \ + "xattr: %s", key); \ goto label; \ } \ } while (0) -- cgit