diff options
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r-- | source3/lib/system.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index 3a9cca6a729..2a99ae779e4 100644 --- a/source3/lib/system.c +++ b/source3/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 |