summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 15:55:09 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:02 +0100
commitb457b94bb86897b7020c6f300cd19a3d8e192610 (patch)
tree11528c1749b30edd0785f38bea7ad31063246ae2 /source3/torture
parent670909cb07e38a06bf5db12342b3b1189f0e1ab7 (diff)
downloadsamba-b457b94bb86897b7020c6f300cd19a3d8e192610.tar.gz
samba-b457b94bb86897b7020c6f300cd19a3d8e192610.tar.bz2
samba-b457b94bb86897b7020c6f300cd19a3d8e192610.zip
Remove redundant parameter fd from SMB_VFS_FTRUNCATE().
Michael (This used to be commit 2ad66050a0452b8e7e08b1e7a01efa00c72fd451)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/cmd_vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/cmd_vfs.c b/source3/torture/cmd_vfs.c
index 3947c3dd3c..17028fefc2 100644
--- a/source3/torture/cmd_vfs.c
+++ b/source3/torture/cmd_vfs.c
@@ -818,7 +818,7 @@ static NTSTATUS cmd_ftruncate(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int ar
return NT_STATUS_OK;
}
- if (SMB_VFS_FTRUNCATE(vfs->files[fd], fd, off) == -1) {
+ if (SMB_VFS_FTRUNCATE(vfs->files[fd], off) == -1) {
printf("ftruncate: error=%d (%s)\n", errno, strerror(errno));
return NT_STATUS_UNSUCCESSFUL;
}