summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorKaushik BV <kaushikbv@gluster.com>2011-09-23 19:05:35 +0530
committerVijay Bellur <vijay@gluster.com>2011-10-01 05:56:01 -0700
commit72cade6db5fd3f6f001295a5f4edeecf44e36045 (patch)
treef8f967ca3a1ec7bafa6180366ecb85c42bada86c /cli
parentc2548c3247a17b3b415295fcbb4c119f4a579831 (diff)
build: Solaris build fixes
Change-Id: I977903f26dbb2c8d1632b3a1c52bd8af4ce8652f BUG: 3446 Reviewed-on: http://review.gluster.com/502 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'cli')
-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 daeb92765..761c67cbb 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -42,6 +42,7 @@
#include "glusterfs3.h"
#include "portmap.h"
+#include "syscall.h"
extern rpc_clnt_prog_t *cli_rpc_prog;
extern int cli_op_ret;
@@ -1400,7 +1401,7 @@ gf_cli3_1_print_limit_list (char *volname, char *limit_list,
memset (&cmd_str, 0, sizeof (cmd_str));
snprintf (cmd_str, sizeof (cmd_str), "%s/%s", mountdir, path);
- ret = getxattr (cmd_str, "trusted.limit.list", (void *) ret_str, 4096);
+ ret = sys_lgetxattr (cmd_str, "trusted.limit.list", (void *) ret_str, 4096);
if (ret < 0) {
cli_out ("%-20s %10s", path, value);
} else {