summaryrefslogtreecommitdiffstats
path: root/source/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 13:21:26 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:01 +0100
commit0b86c420be94d295f6917a220b5d699f65b46711 (patch)
tree0809ea90f6b192e666a1b4bd6287df0ab0e19449 /source/torture
parent8f83c9a7b245dbfef28195f9a7f33047a8ba95a0 (diff)
downloadsamba-0b86c420be94d295f6917a220b5d699f65b46711.tar.gz
samba-0b86c420be94d295f6917a220b5d699f65b46711.tar.xz
samba-0b86c420be94d295f6917a220b5d699f65b46711.zip
Remove redundant parameter fd from SMB_VFS_FSTAT().
Michael
Diffstat (limited to 'source/torture')
-rw-r--r--source/torture/cmd_vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/torture/cmd_vfs.c b/source/torture/cmd_vfs.c
index 17f4b9bfc0e..7c8d070e067 100644
--- a/source/torture/cmd_vfs.c
+++ b/source/torture/cmd_vfs.c
@@ -572,7 +572,7 @@ static NTSTATUS cmd_fstat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
return NT_STATUS_OK;
}
- if (SMB_VFS_FSTAT(vfs->files[fd], fd, &st) == -1) {
+ if (SMB_VFS_FSTAT(vfs->files[fd], &st) == -1) {
printf("fstat: error=%d (%s)\n", errno, strerror(errno));
return NT_STATUS_UNSUCCESSFUL;
}