From: Stefan Metzmacher Date: Wed, 21 Mar 2018 06:48:16 +0000 (+0100) Subject: s3:modules: fix the build of vfs_aixacl2.c X-Git-Tag: talloc-2.1.13~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=702665cc52d5dc05ae636519e1ffe9c296f5ef77;p=thirdparty%2Fsamba.git s3:modules: fix the build of vfs_aixacl2.c BUG: https://bugzilla.samba.org/show_bug.cgi?id=13345 Signed-off-by: Stefan Metzmacher Reviewed-by: Björn Jacke Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Tue Apr 3 20:18:58 CEST 2018 on sn-devel-144 --- diff --git a/source3/modules/vfs_aixacl2.c b/source3/modules/vfs_aixacl2.c index d0cd2c1cbc2..e094be1cdb9 100644 --- a/source3/modules/vfs_aixacl2.c +++ b/source3/modules/vfs_aixacl2.c @@ -476,7 +476,8 @@ int aixjfs2_sys_acl_set_file(vfs_handle_struct *handle, acl_type_t acl_type_info; int rc; - DEBUG(10, ("aixjfs2_sys_acl_set_file invoked for %s", name)); + DEBUG(10, ("aixjfs2_sys_acl_set_file invoked for %s", + smb_fname->base_name)); rc = aixjfs2_query_acl_support((char *)smb_fname->base_name, ACL_AIXC, &acl_type_info); @@ -490,7 +491,7 @@ int aixjfs2_sys_acl_set_file(vfs_handle_struct *handle, return -1; rc = aclx_put( - (char *)name, + (char *)smb_fname->base_name, SET_ACL, /* set only the ACL, not mode bits */ acl_type_info, acl_aixc,