summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 12:49:02 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:01 +0100
commit8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7 (patch)
tree80d5b92ffab1ea14bf2c763b797097a65fa72941 /source3/torture
parent6f657c873efa4779e762a8f9ede97e19da6fb7ec (diff)
downloadsamba-8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7.tar.gz
samba-8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7.tar.bz2
samba-8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7.zip
Remove redundant parameter fd from SMB_VFS_FSYNC().
Michael (This used to be commit 8f83c9a7b245dbfef28195f9a7f33047a8ba95a0)
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 e595ac9f8b..17f4b9bfc0 100644
--- a/source3/torture/cmd_vfs.c
+++ b/source3/torture/cmd_vfs.c
@@ -479,7 +479,7 @@ static NTSTATUS cmd_fsync(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
}
fd = atoi(argv[1]);
- ret = SMB_VFS_FSYNC(vfs->files[fd], fd);
+ ret = SMB_VFS_FSYNC(vfs->files[fd]);
if (ret == -1) {
printf("fsync: error=%d (%s)\n", errno, strerror(errno));
return NT_STATUS_UNSUCCESSFUL;