summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaravanakumar Arumugam <sarumuga@redhat.com>2016-07-04 12:21:45 +0530
committerAravinda VK <avishwan@redhat.com>2016-07-07 03:49:56 -0700
commit3b61a00f0afc7f84e7685548cbcde3b69172adf0 (patch)
treee09069f97b72cd9a13fb02c49517aaaac0dcc493
parente51beeacf7fcb7359c129c8067cc95dcd2767e39 (diff)
geo-rep: fix wrong argument to find_library
Argument passed to find_library function is wrong. Pass proper argument to find_library. Note: It still works as default handle is libc. Change-Id: I4657a3ef9f5249e3eec4a20582856b58168126ce BUG: 1352423 Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com> Reviewed-on: http://review.gluster.org/14852 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Aravinda VK <avishwan@redhat.com>
-rw-r--r--geo-replication/syncdaemon/libcxattr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/libcxattr.py b/geo-replication/syncdaemon/libcxattr.py
index 553d8f13424..3671e102c7f 100644
--- a/geo-replication/syncdaemon/libcxattr.py
+++ b/geo-replication/syncdaemon/libcxattr.py
@@ -25,7 +25,7 @@ class Xattr(object):
sizes we expect
"""
- libc = CDLL(find_library("libc"), use_errno=True)
+ libc = CDLL(find_library("c"), use_errno=True)
@classmethod
def geterrno(cls):