summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-10 15:33:51 +0100
committerMichael Adam <obnox@samba.org>2008-01-10 15:33:51 +0100
commit1d66f4d58b5fdd9c4e0c022cd2724e05d144510b (patch)
treeb0a4dd0969ac0edf00d0984a60134a6cac6b8590 /source3/torture
parentba2a2552822ded95358c11972005f2c353580439 (diff)
downloadsamba-1d66f4d58b5fdd9c4e0c022cd2724e05d144510b.tar.gz
samba-1d66f4d58b5fdd9c4e0c022cd2724e05d144510b.tar.bz2
samba-1d66f4d58b5fdd9c4e0c022cd2724e05d144510b.zip
Remove redundant parameter fd from SMB_VFS_READ().
Michael (This used to be commit a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04)
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 e349df6061..45da7ffa54 100644
--- a/source3/torture/cmd_vfs.c
+++ b/source3/torture/cmd_vfs.c
@@ -389,7 +389,7 @@ static NTSTATUS cmd_read(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, c
}
vfs->data_size = size;
- rsize = SMB_VFS_READ(vfs->files[fd], fd, vfs->data, size);
+ rsize = SMB_VFS_READ(vfs->files[fd], vfs->data, size);
if (rsize == -1) {
printf("read: error=%d (%s)\n", errno, strerror(errno));
return NT_STATUS_UNSUCCESSFUL;