diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-01-15 09:08:38 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2004-01-15 09:08:38 +0000 |
commit | fc1590abd991b657ff2510d8b48be271b4863294 (patch) | |
tree | 06a4f782d6321c258fd58592e5200be1cee454b7 | |
parent | 4e8aec8ca8481cf2102ac3052c4ee1ff37ec2f7c (diff) | |
download | samba-fc1590abd991b657ff2510d8b48be271b4863294.tar.gz samba-fc1590abd991b657ff2510d8b48be271b4863294.tar.bz2 samba-fc1590abd991b657ff2510d8b48be271b4863294.zip |
merge:
* Fix sys_chown() when no chown() is presend
metze
(This used to be commit ecf5b78248e551f3586967046d8b1da9bbe11e7b)
-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 16384c8bdf..a0007ec83c 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -490,6 +490,8 @@ int sys_chown(const char *fname,uid_t uid,gid_t gid) DEBUG(1,("WARNING: no chown!\n")); done=1; } + errno = ENOSYS; + return -1; #else return(chown(fname,uid,gid)); #endif |