diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:39:20 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:39:20 +0100 |
commit | 38d67363aca81b970717c58b07e04396ae9dfd9f (patch) | |
tree | 7355807312f4d733e8dc33174b798aa742437295 /source3/modules | |
parent | e8cda43e171c1aa8f4b858228e715290d400691c (diff) | |
download | samba-38d67363aca81b970717c58b07e04396ae9dfd9f.tar.gz samba-38d67363aca81b970717c58b07e04396ae9dfd9f.tar.bz2 samba-38d67363aca81b970717c58b07e04396ae9dfd9f.zip |
Move sys_lchown() to libreplace.
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_default.c | 2 | ||||
-rw-r--r-- | source3/modules/vfs_netatalk.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 37b0fc392b..13c2770208 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -621,7 +621,7 @@ static int vfswrap_lchown(vfs_handle_struct *handle, const char *path, uid_t uid int result; START_PROFILE(syscall_lchown); - result = sys_lchown(path, uid, gid); + result = lchown(path, uid, gid); END_PROFILE(syscall_lchown); return result; } diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c index 2cc4a6c4ba..ca7085ca18 100644 --- a/source3/modules/vfs_netatalk.c +++ b/source3/modules/vfs_netatalk.c @@ -399,7 +399,7 @@ static int atalk_lchown(struct vfs_handle_struct *handle, const char *path, uid_ goto exit_lchown; } - sys_lchown(adbl_path, uid, gid); + lchown(adbl_path, uid, gid); exit_lchown: talloc_destroy(ctx); |