s3: vfs: Fix compilation error on Solaris.
authorJeremy Allison <jra@samba.org>
Wed, 24 Aug 2016 17:32:32 +0000 (10:32 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 24 Aug 2016 23:38:28 +0000 (01:38 +0200)
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>
source3/modules/vfs_solarisacl.c

index b421016f445c42593df162dca3d9cc29db1a5259..6367794d961c7a4271be48f1310d7bd520c8deb2 100644 (file)
@@ -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;