X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=blobdiff_plain;f=source%2Ftorture%2Fcmd_vfs.c;h=e595ac9f8b6d345fa52871c20b1b5926a78ec75b;hp=02bee835b0872d1c74f201165e788c6478c88da5;hb=df929796f2698698d2875227bda8500589cca2df;hpb=8c4901a19ae2fd3ee085f9499f33aa7db016d182 diff --git a/source/torture/cmd_vfs.c b/source/torture/cmd_vfs.c index 02bee835b08..e595ac9f8b6 100644 --- a/source/torture/cmd_vfs.c +++ b/source/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;