diff options
author | Michael Adam <obnox@samba.org> | 2008-01-07 15:55:09 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-07 15:59:02 +0100 |
commit | 2ad66050a0452b8e7e08b1e7a01efa00c72fd451 (patch) | |
tree | fbf82379ddc4230d1bb40a8efdfbeede10f7e12c /source/torture | |
parent | fbb193db3e0dc51cb000ae406a68bc547f31d9ab (diff) | |
download | samba-2ad66050a0452b8e7e08b1e7a01efa00c72fd451.tar.gz samba-2ad66050a0452b8e7e08b1e7a01efa00c72fd451.tar.xz samba-2ad66050a0452b8e7e08b1e7a01efa00c72fd451.zip |
Remove redundant parameter fd from SMB_VFS_FTRUNCATE().
Michael
Diffstat (limited to 'source/torture')
-rw-r--r-- | source/torture/cmd_vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/torture/cmd_vfs.c b/source/torture/cmd_vfs.c index 3947c3dd3c0..17028fefc21 100644 --- a/source/torture/cmd_vfs.c +++ b/source/torture/cmd_vfs.c @@ -818,7 +818,7 @@ static NTSTATUS cmd_ftruncate(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int ar return NT_STATUS_OK; } - if (SMB_VFS_FTRUNCATE(vfs->files[fd], fd, off) == -1) { + if (SMB_VFS_FTRUNCATE(vfs->files[fd], off) == -1) { printf("ftruncate: error=%d (%s)\n", errno, strerror(errno)); return NT_STATUS_UNSUCCESSFUL; } |