summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 10:15:08 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:01 +0100
commit6f657c873efa4779e762a8f9ede97e19da6fb7ec (patch)
tree0cccf57b250bfd327d182e1b407fe15a82d07c93 /source3/torture
parenta56b417809805f8872c1e3238cce5d006d6189e4 (diff)
downloadsamba-6f657c873efa4779e762a8f9ede97e19da6fb7ec.tar.gz
samba-6f657c873efa4779e762a8f9ede97e19da6fb7ec.tar.bz2
samba-6f657c873efa4779e762a8f9ede97e19da6fb7ec.zip
Remove redundant parameter fd from SMB_VFS_LSEEK().
Michael (This used to be commit df929796f2698698d2875227bda8500589cca2df)
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 02bee835b0..e595ac9f8b 100644
--- a/source3/torture/cmd_vfs.c
+++ b/source3/torture/cmd_vfs.c
@@ -440,7 +440,7 @@ static NTSTATUS cmd_lseek(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
default: whence = SEEK_END;
}
- pos = SMB_VFS_LSEEK(vfs->files[fd], fd, offset, whence);
+ pos = SMB_VFS_LSEEK(vfs->files[fd], offset, whence);
if (pos == (SMB_OFF_T)-1) {
printf("lseek: error=%d (%s)\n", errno, strerror(errno));
return NT_STATUS_UNSUCCESSFUL;