diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-08-10 02:42:01 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-10 02:44:51 -0700 |
commit | 272dfb00a9bdb9d537183dd0cfed83f698f5351a (patch) | |
tree | 0062ba01a38ba36aeb6acf62a5d634cd25bc6b3f /cli/src/cli3_1-cops.c | |
parent | 3501c98d23a9dcc4e05e972cb8de600fc46e4bf9 (diff) |
core,glusterd: Solaris getxattr build fix
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1178 (Gluster mainline build fails on Solaris)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1178
Diffstat (limited to 'cli/src/cli3_1-cops.c')
-rw-r--r-- | cli/src/cli3_1-cops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c index 929f490c22e..210c881b61b 100644 --- a/cli/src/cli3_1-cops.c +++ b/cli/src/cli3_1-cops.c @@ -32,6 +32,7 @@ #include "cli1.h" #include "protocol-common.h" #include "cli-mem-types.h" +#include "compat.h" extern rpc_clnt_prog_t *cli_rpc_prog; extern int cli_op_ret; @@ -736,7 +737,7 @@ gf_cli3_1_replace_brick_cbk (struct rpc_req *req, struct iovec *iov, gf_log ("", GF_LOG_DEBUG, "sending getxattr"); - ret = getxattr ("/tmp/mnt/", "trusted.glusterfs.pump.status", status_msg, 8192); + ret = lgetxattr ("/tmp/mnt/", "trusted.glusterfs.pump.status", status_msg, 8192); fprintf (stdout, "%s\n", status_msg); gf_log ("", GF_LOG_DEBUG, |