diff options
author | Michael Adam <obnox@samba.org> | 2008-01-10 15:49:35 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-10 15:49:35 +0100 |
commit | e9a3a62e7448bef72d9c17c90ff2b404082f067c (patch) | |
tree | 882a2c92c86ea112ece2611bd2b33d7b9662a4f2 /source3/torture/cmd_vfs.c | |
parent | 1d66f4d58b5fdd9c4e0c022cd2724e05d144510b (diff) | |
download | samba-e9a3a62e7448bef72d9c17c90ff2b404082f067c.tar.gz samba-e9a3a62e7448bef72d9c17c90ff2b404082f067c.tar.xz samba-e9a3a62e7448bef72d9c17c90ff2b404082f067c.zip |
Remove redundant parameter fd from SMB_VFS_WRITE().
Michael
(This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
Diffstat (limited to 'source3/torture/cmd_vfs.c')
-rw-r--r-- | source3/torture/cmd_vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/cmd_vfs.c b/source3/torture/cmd_vfs.c index 45da7ffa543..f3b98862fee 100644 --- a/source3/torture/cmd_vfs.c +++ b/source3/torture/cmd_vfs.c @@ -422,7 +422,7 @@ static NTSTATUS cmd_write(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, return NT_STATUS_UNSUCCESSFUL; } - wsize = SMB_VFS_WRITE(vfs->files[fd], fd, vfs->data, size); + wsize = SMB_VFS_WRITE(vfs->files[fd], vfs->data, size); if (wsize == -1) { printf("write: error=%d (%s)\n", errno, strerror(errno)); |