summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/clifile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/clifile.c b/source4/libcli/clifile.c
index 5432834522..d1dd0b4ff2 100644
--- a/source4/libcli/clifile.c
+++ b/source4/libcli/clifile.c
@@ -494,7 +494,7 @@ NTSTATUS cli_unlock64(struct cli_tree *tree, int fnum, SMB_OFF_T offset,
/****************************************************************************
Do a SMBgetattrE call.
****************************************************************************/
-NTSTATUS cli_getattrE(struct cli_tree *tree, int fd,
+NTSTATUS cli_getattrE(struct cli_tree *tree, int fnum,
uint16 *attr, size_t *size,
time_t *c_time, time_t *a_time, time_t *m_time)
{
@@ -502,7 +502,7 @@ NTSTATUS cli_getattrE(struct cli_tree *tree, int fd,
NTSTATUS status;
parms.getattre.level = RAW_FILEINFO_GETATTRE;
- parms.getattre.in.fnum = fd;
+ parms.getattre.in.fnum = fnum;
status = smb_raw_fileinfo(tree, NULL, &parms);