summaryrefslogtreecommitdiff
path: root/source3/smbd/open.c
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/smbd/open.c
parent87a684f7fcfa8d9fabc42e33981299d0b33eeeb7 (diff)
downloadsamba-e614dec27f33c932c6c29c806d567fd6015cd5e6.tar.gz
samba-e614dec27f33c932c6c29c806d567fd6015cd5e6.tar.bz2
samba-e614dec27f33c932c6c29c806d567fd6015cd5e6.zip
Remove redundant parameter fd from SMB_VFS_FCHMOD().
Michael (This used to be commit a54d5604da556d1250ca9948d4acc4a187a9fede)
Diffstat (limited to 'source3/smbd/open.c')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index d870374835..c7b053d531 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1915,7 +1915,7 @@ NTSTATUS open_file_ntcreate(connection_struct *conn,
}
if ((ret == -1) &&
- (SMB_VFS_FCHMOD(fsp, fsp->fh->fd, new_unx_mode) == -1))
+ (SMB_VFS_FCHMOD(fsp, new_unx_mode) == -1))
DEBUG(5, ("open_file_ntcreate: failed to reset "
"attributes of file %s to 0%o\n",
fname, (unsigned int)new_unx_mode));