summaryrefslogtreecommitdiffstats
path: root/source/lib/system.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-10 13:38:07 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-10 13:38:07 +0000
commitb5ceab810292602ea9a81696c20a781c16b706c2 (patch)
tree01c0fa7b990f33664c6aed5b1fcb27cb9d2723ae /source/lib/system.c
parentfbeb9804344ab3aa1dd6635a5524aa09065e04f5 (diff)
downloadsamba-b5ceab810292602ea9a81696c20a781c16b706c2.tar.gz
samba-b5ceab810292602ea9a81696c20a781c16b706c2.tar.xz
samba-b5ceab810292602ea9a81696c20a781c16b706c2.zip
continued the split of the kernel level oplocks code into a more
modular form. In this pass I added oplock_irix.c and added a "struct kernel_oplocks" that describes a kernel oplock implementation.
Diffstat (limited to 'source/lib/system.c')
-rw-r--r--source/lib/system.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/lib/system.c b/source/lib/system.c
index 3a9cca6a729..2a99ae779e4 100644
--- a/source/lib/system.c
+++ b/source/lib/system.c
@@ -391,6 +391,8 @@ int sys_chroot(const char *dname)
DEBUG(1,("WARNING: no chroot!\n"));
done=1;
}
+ errno = ENOSYS;
+ return -1;
#else
return(chroot(dname));
#endif