summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/xattr_system.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-06-03 09:38:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:51 -0500
commitdc4ccc6f6575bc98f17eccebd7e058eedaff02aa (patch)
tree24c30c982204ec68ff83f890240a87735e6684fb /source4/ntvfs/posix/xattr_system.c
parent594ae8f9e193106b8b32102aa8c8c8d48045395b (diff)
downloadsamba-dc4ccc6f6575bc98f17eccebd7e058eedaff02aa.tar.gz
samba-dc4ccc6f6575bc98f17eccebd7e058eedaff02aa.tar.bz2
samba-dc4ccc6f6575bc98f17eccebd7e058eedaff02aa.zip
r16024: OpenBSD doesn't have ENOTSUP so use ENOSYS
metze (This used to be commit 505d55de69e1c5a9e763534dd392caac79e49ff1)
Diffstat (limited to 'source4/ntvfs/posix/xattr_system.c')
-rw-r--r--source4/ntvfs/posix/xattr_system.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/ntvfs/posix/xattr_system.c b/source4/ntvfs/posix/xattr_system.c
index 11d8df2933..958f57e0fd 100644
--- a/source4/ntvfs/posix/xattr_system.c
+++ b/source4/ntvfs/posix/xattr_system.c
@@ -57,32 +57,32 @@ static int _wrap_darwin_removexattr(const char *path, const char *name)
#elif !defined(HAVE_XATTR_SUPPORT)
static ssize_t _none_fgetxattr(int fd, const char *name, void *value, size_t size)
{
- errno = ENOTSUP;
+ errno = ENOSYS;
return -1;
}
static ssize_t _none_getxattr(const char *path, const char *name, void *value, size_t size)
{
- errno = ENOTSUP;
+ errno = ENOSYS;
return -1;
}
static int _none_fsetxattr(int fd, const char *name, void *value, size_t size, int flags)
{
- errno = ENOTSUP;
+ errno = ENOSYS;
return -1;
}
static int _none_setxattr(const char *path, const char *name, void *value, size_t size, int flags)
{
- errno = ENOTSUP;
+ errno = ENOSYS;
return -1;
}
static int _none_fremovexattr(int fd, const char *name)
{
- errno = ENOTSUP;
+ errno = ENOSYS;
return -1;
}
static int _none_removexattr(const char *path, const char *name)
{
- errno = ENOTSUP;
+ errno = ENOSYS;
return -1;
}
#define fgetxattr _none_fgetxattr