VFS: vfs_netatalk. Fix wrong VFS call used inside atalk_lchown()
[sfrench/samba-autobuild/.git] / source3 / modules / vfs_netatalk.c
index aaaf62627e4aa092226d32acb196529696207450..4bb26d09dce1d087e87ad7f1c2849fd16528d3e6 100644 (file)
@@ -441,7 +441,7 @@ static int atalk_lchown(struct vfs_handle_struct *handle, const char *path, uid_
        SMB_STRUCT_STAT orig_info;
        TALLOC_CTX *ctx;
 
-       ret = SMB_VFS_NEXT_CHOWN(handle, path, uid, gid);
+       ret = SMB_VFS_NEXT_LCHOWN(handle, path, uid, gid);
 
        if (!path) return ret;