summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-06-08 23:37:22 +0000
committerAnand Avati <avati@gluster.com>2011-06-16 09:15:28 -0700
commite719518e561033af0ffd07d0c8ad7d777715fe89 (patch)
tree8ede0ce4fbe1985dcbc749fd786c75de8cae00d5 /cli/src
parentdad63fa8ac00397e337f328b0bb7b641e2680932 (diff)
fixing some build issues in Mac OS X
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2966 (MacOSX compile failure: duplicate symbol _k) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2966
Diffstat (limited to 'cli/src')
-rw-r--r--cli/src/cli-rpc-ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index bca4c1ac227..366d8742bc6 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -40,6 +40,7 @@
#include "cli-mem-types.h"
#include "compat.h"
+#include "syscall.h"
#include "glusterfs3.h"
#include "portmap.h"
@@ -1377,7 +1378,7 @@ gf_cli3_1_print_limit_list (char *volname, char *limit_list)
snprintf (abspath, sizeof (abspath), "%s/%s", mountdir, path);
- ret = getxattr (abspath, "trusted.limit.list", (void *) ret_str, 4096);
+ ret = sys_lgetxattr (abspath, "trusted.limit.list", (void *) ret_str, 4096);
if (ret < 0) {
cli_out ("%-20s %10s", path, value);
} else {