Fix the build: Fix caller of strict_allocate_ftruncate().
authorMichael Adam <obnox@samba.org>
Mon, 7 Jan 2008 15:12:03 +0000 (16:12 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 7 Jan 2008 15:12:03 +0000 (16:12 +0100)
Michael
(This used to be commit 20691272a1e2562ab8c6143978d324af0334f871)

source3/modules/vfs_default.c

index 6ac8cc5def658207c2efc8f09bff00dc7fc8b9df..45056959158556f2ef06af1d430f3d6648a1aa62 100644 (file)
@@ -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;
        }