summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2021-01-26 10:55:42 +0100
committerKarolin Seeger <kseeger@samba.org>2021-02-26 08:50:41 +0000
commitcc3c704a84fcf511debfcbbb1a40794111a836e1 (patch)
tree354dad12c0b6f70a572e941aff436cd0141bf34f
parent72dcae2f56975804b3231315149c0a60a95c201d (diff)
downloadsamba-cc3c704a84fcf511debfcbbb1a40794111a836e1.tar.gz
vfs_aixacl: fix regression from f4c2f867f035fcbe3d547d5635d058b0aec7636a
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14620 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Björn Jacke <bjacke@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Tue Jan 26 20:05:39 UTC 2021 on sn-devel-184 (cherry picked from commit 7114150f43751ab869323b91da83705b1e1ab465)
-rw-r--r--source3/modules/vfs_aixacl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_aixacl.c b/source3/modules/vfs_aixacl.c
index e6a085cae0f..e4c5f1ef7e2 100644
--- a/source3/modules/vfs_aixacl.c
+++ b/source3/modules/vfs_aixacl.c
@@ -170,9 +170,9 @@ int aixacl_sys_acl_set_fd(vfs_handle_struct *handle,
/*
* This is no longer a handle based call.
*/
- return = chacl(fsp->fsp_name->base_name,
- file_acl,
- file_acl->acl_len);
+ return chacl(fsp->fsp_name->base_name,
+ file_acl,
+ file_acl->acl_len);
}
rc = fchacl(fsp_get_io_fd(fsp),file_acl,file_acl->acl_len);