summaryrefslogtreecommitdiffstats
path: root/source3/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 13:44:37 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:02 +0100
commite614dec27f33c932c6c29c806d567fd6015cd5e6 (patch)
treec597b29eee25c363791bfda777da0f70034ce47a /source3/torture
parent87a684f7fcfa8d9fabc42e33981299d0b33eeeb7 (diff)
downloadsamba-e614dec27f33c932c6c29c806d567fd6015cd5e6.tar.gz
samba-e614dec27f33c932c6c29c806d567fd6015cd5e6.tar.xz
samba-e614dec27f33c932c6c29c806d567fd6015cd5e6.zip
Remove redundant parameter fd from SMB_VFS_FCHMOD().
Michael (This used to be commit a54d5604da556d1250ca9948d4acc4a187a9fede)
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 7c8d070e067..1a042ba3b07 100644
--- a/source3/torture/cmd_vfs.c
+++ b/source3/torture/cmd_vfs.c
@@ -706,7 +706,7 @@ static NTSTATUS cmd_fchmod(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
return NT_STATUS_OK;
}
- if (SMB_VFS_FCHMOD(vfs->files[fd], fd, mode) == -1) {
+ if (SMB_VFS_FCHMOD(vfs->files[fd], mode) == -1) {
printf("fchmod: error=%d (%s)\n", errno, strerror(errno));
return NT_STATUS_UNSUCCESSFUL;
}