From: James Peach Date: Thu, 8 Mar 2007 20:54:13 +0000 (+0000) Subject: r21766: Fix compiler warning. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~973 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f82ac78b2fa623f5868201bd54ffac9c8f318eef;p=thirdparty%2Fsamba.git r21766: Fix compiler warning. --- diff --git a/source/modules/vfs_default.c b/source/modules/vfs_default.c index 4febc064d94..d1772eaf080 100644 --- a/source/modules/vfs_default.c +++ b/source/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) diff --git a/source/script/tests/selftest.sh b/source/script/tests/selftest.sh index d5cd2fbedac..ba194dfa111 100755 --- a/source/script/tests/selftest.sh +++ b/source/script/tests/selftest.sh @@ -1,5 +1,6 @@ #!/bin/sh +set -x if [ $# != 3 ]; then echo "$0 " exit 1 @@ -93,7 +94,6 @@ cat >$COMMONCONFFILE<$SERVERCONFFILE<$SERVERCONFFILE<