summaryrefslogtreecommitdiffstats
path: root/source/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
commita8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04 (patch)
tree08390e4f8788b748386cbc61fc367a22235187f2 /source/torture
parent395f29d8b768a56af20b37f185eccdc5f37b68d5 (diff)
downloadsamba-a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04.tar.gz
samba-a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04.tar.xz
samba-a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04.zip
Remove redundant parameter fd from SMB_VFS_READ().
Michael
Diffstat (limited to 'source/torture')
-rw-r--r--source/torture/cmd_vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/torture/cmd_vfs.c b/source/torture/cmd_vfs.c
index e349df60616..45da7ffa543 100644
--- a/source/torture/cmd_vfs.c
+++ b/source/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;