diff options
author | Amar Tumballi <amar@gluster.com> | 2009-03-18 18:31:30 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-03-19 14:44:33 +0530 |
commit | c20359b5b2a564e83b5830b9a17013e780096e2d (patch) | |
tree | 9689a9ababf42c54927dc49dc63433ed3c17c667 /libglusterfs/src | |
parent | 103d82700483bf744f86719e97846b065ca3394c (diff) |
fixed sys_<fops> related warnings. (on mac os x and opensolaris)2.0.0rc5
The fix in posix will fix 'unresolved' symbol errors in Mac/Solaris/FreeBSD
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/compat.h | 1 | ||||
-rw-r--r-- | libglusterfs/src/syscall.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h index 42d2fa1419e..228daf5da9d 100644 --- a/libglusterfs/src/compat.h +++ b/libglusterfs/src/compat.h @@ -230,6 +230,7 @@ int solaris_fgetxattr(int fd, const char* key, char *value, size_t size); int solaris_fsetxattr(int fd, const char* key, const char *value, size_t size, int flags); +int solaris_flistxattr(int fd, char *list, size_t size); #endif /* GF_SOLARIS_HOST_OS */ diff --git a/libglusterfs/src/syscall.c b/libglusterfs/src/syscall.c index f8e8c939a77..d350710e2db 100644 --- a/libglusterfs/src/syscall.c +++ b/libglusterfs/src/syscall.c @@ -369,7 +369,7 @@ sys_fsetxattr (int filedes, const char *name, const void *value, #endif #ifdef GF_SOLARIS_HOST_OS - solaris_fsetxattr (filedes, name, value, size, flags); + return solaris_fsetxattr (filedes, name, value, size, flags); #endif #ifdef GF_DARWIN_HOST_OS |