summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2016-08-24 10:32:32 -0700
committerStefan Metzmacher <metze@samba.org>2016-08-28 18:12:12 +0200
commit372fb30da71fd80a3f7bfb0f3fe3a4f151ceb30d (patch)
treed7af7125876b1d835388c52846c445d1b2543455
parent3157af9bfdfa2d5e476f86ff930758b0b0180a98 (diff)
downloadsamba-372fb30da71fd80a3f7bfb0f3fe3a4f151ceb30d.tar.gz
s3: vfs: Fix compilation error on Solaris.
BUG:https://bugzilla.samba.org/show_bug.cgi?id=12174 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org> (cherry picked from commit d37545538ca0274feb18f04ba120ed013ac2321a)
-rw-r--r--source3/modules/vfs_solarisacl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_solarisacl.c b/source3/modules/vfs_solarisacl.c
index b421016f445..6367794d961 100644
--- a/source3/modules/vfs_solarisacl.c
+++ b/source3/modules/vfs_solarisacl.c
@@ -174,7 +174,7 @@ int solarisacl_sys_acl_set_file(vfs_handle_struct *handle,
* For a Windows acl mapped call on a symlink, we want to follow
* it.
*/
- ret = SMB_VFS_STAT(conn, &smb_fname);
+ ret = SMB_VFS_STAT(handle->conn, &smb_fname);
if (ret != 0) {
DEBUG(10, ("Error in stat call: %s\n", strerror(errno)));
goto done;