From fc1590abd991b657ff2510d8b48be271b4863294 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 15 Jan 2004 09:08:38 +0000 Subject: merge: * Fix sys_chown() when no chown() is presend metze (This used to be commit ecf5b78248e551f3586967046d8b1da9bbe11e7b) --- source3/lib/system.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit