summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index 816c5d98bd..afba07f1f5 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -103,7 +103,7 @@ static NTSTATUS check_magic(struct files_struct *fsp)
goto out;
}
- if (sys_fstat(tmp_fd, &st, lp_fake_dir_create_times()) == -1) {
+ if (sys_fstat(tmp_fd, &st, false) == -1) {
int err = errno;
close(tmp_fd);
close(outfd);