From 3b61a00f0afc7f84e7685548cbcde3b69172adf0 Mon Sep 17 00:00:00 2001 From: Saravanakumar Arumugam Date: Mon, 4 Jul 2016 12:21:45 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/14852 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Aravinda VK --- geo-replication/syncdaemon/libcxattr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit