summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_solarisacl.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/vfs_solarisacl.c')
-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 b29c218ff4..673b6805af 100644
--- a/source3/modules/vfs_solarisacl.c
+++ b/source3/modules/vfs_solarisacl.c
@@ -128,7 +128,7 @@ SMB_ACL_T solarisacl_sys_acl_get_fd(vfs_handle_struct *handle,
DEBUG(10, ("solarisacl_sys_acl_get_fd %s.\n",
((result == NULL) ? "failed" : "succeeded")));
SAFE_FREE(solaris_acl);
- return NULL;
+ return result;
}
int solarisacl_sys_acl_set_file(vfs_handle_struct *handle,