summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 14:26:00 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:02 +0100
commit670909cb07e38a06bf5db12342b3b1189f0e1ab7 (patch)
treeba1a45db0387a252dc22c77b42fdfa642288562b /source3/torture
parente614dec27f33c932c6c29c806d567fd6015cd5e6 (diff)
downloadsamba-670909cb07e38a06bf5db12342b3b1189f0e1ab7.tar.gz
samba-670909cb07e38a06bf5db12342b3b1189f0e1ab7.tar.bz2
samba-670909cb07e38a06bf5db12342b3b1189f0e1ab7.zip
Remove redundant parameter fd from SMB_VFS_FCHOWN().
Michael (This used to be commit fbb193db3e0dc51cb000ae406a68bc547f31d9ab)
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 1a042ba3b0..3947c3dd3c 100644
--- a/source3/torture/cmd_vfs.c
+++ b/source3/torture/cmd_vfs.c
@@ -758,7 +758,7 @@ static NTSTATUS cmd_fchown(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
printf("fchown: error=%d (invalid file descriptor)\n", EBADF);
return NT_STATUS_OK;
}
- if (SMB_VFS_FCHOWN(vfs->files[fd], fd, uid, gid) == -1) {
+ if (SMB_VFS_FCHOWN(vfs->files[fd], uid, gid) == -1) {
printf("fchown error=%d (%s)\n", errno, strerror(errno));
return NT_STATUS_UNSUCCESSFUL;
}