diff options
Diffstat (limited to 'source3/modules/vfs_hpuxacl.c')
-rw-r--r-- | source3/modules/vfs_hpuxacl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/modules/vfs_hpuxacl.c b/source3/modules/vfs_hpuxacl.c index 5a54f79da3..62a35b1680 100644 --- a/source3/modules/vfs_hpuxacl.c +++ b/source3/modules/vfs_hpuxacl.c @@ -189,7 +189,8 @@ SMB_ACL_T hpuxacl_sys_acl_get_fd(vfs_handle_struct *handle, */ /* For all I see, the info should already be in the fsp * parameter, but get it again to be safe --- necessary? */ - files_struct *file_struct_p = file_find_fd(fsp->fh->fd); + files_struct *file_struct_p = file_find_fd(fsp->conn->sconn, + fsp->fh->fd); if (file_struct_p == NULL) { errno = EBADF; return NULL; @@ -328,7 +329,8 @@ int hpuxacl_sys_acl_set_fd(vfs_handle_struct *handle, */ /* For all I see, the info should already be in the fsp * parameter, but get it again to be safe --- necessary? */ - files_struct *file_struct_p = file_find_fd(fsp->fh->fd); + files_struct *file_struct_p = file_find_fd(fsp->conn->sconn, + fsp->fh->fd); if (file_struct_p == NULL) { errno = EBADF; return -1; |