mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
Fix the build: Fix caller of strict_allocate_ftruncate().
Michael (This used to be commit 20691272a1e2562ab8c6143978d324af0334f871)
This commit is contained in:
parent
b457b94bb8
commit
299d24dbc1
@ -736,7 +736,7 @@ static int vfswrap_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_O
|
||||
START_PROFILE(syscall_ftruncate);
|
||||
|
||||
if (lp_strict_allocate(SNUM(fsp->conn))) {
|
||||
result = strict_allocate_ftruncate(handle, fsp, fsp->fh->fd, len);
|
||||
result = strict_allocate_ftruncate(handle, fsp, len);
|
||||
END_PROFILE(syscall_ftruncate);
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user