summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-03-08 20:54:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:29 -0500
commit41c8f3da97a443fc4a9a987a3c2588eb07e324b3 (patch)
tree2ca7375a9c0448431f1d9866345b337e6fd478f5 /source3/modules
parent872cd741caec2831578a3b0ef7741c814e05f50c (diff)
downloadsamba-41c8f3da97a443fc4a9a987a3c2588eb07e324b3.tar.gz
samba-41c8f3da97a443fc4a9a987a3c2588eb07e324b3.tar.bz2
samba-41c8f3da97a443fc4a9a987a3c2588eb07e324b3.zip
r21766: Fix compiler warning.
(This used to be commit f82ac78b2fa623f5868201bd54ffac9c8f318eef)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_default.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index 4febc064d9..d1772eaf08 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -905,8 +905,7 @@ static NTSTATUS vfswrap_notify_watch(vfs_handle_struct *vfs_handle,
static int vfswrap_chflags(vfs_handle_struct *handle, const char *path, int flags)
{
- errno = ENOSYS;
- return -1;
+ return chflags(path, flags);
}
static size_t vfswrap_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp, int fd, uint32 security_info, SEC_DESC **ppdesc)