summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 16:12:03 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 16:12:03 +0100
commit299d24dbc1d2d8eb0b78800eb5a8643b10c80274 (patch)
treeccb2f5fb4553afb155b2a275f2e7f49e46494027 /source3
parentb457b94bb86897b7020c6f300cd19a3d8e192610 (diff)
downloadsamba-299d24dbc1d2d8eb0b78800eb5a8643b10c80274.tar.gz
samba-299d24dbc1d2d8eb0b78800eb5a8643b10c80274.tar.bz2
samba-299d24dbc1d2d8eb0b78800eb5a8643b10c80274.zip
Fix the build: Fix caller of strict_allocate_ftruncate().
Michael (This used to be commit 20691272a1e2562ab8c6143978d324af0334f871)
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index 6ac8cc5def..4505695915 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -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;
}