diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index a38deb052b..f42a70d055 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -8675,7 +8675,7 @@ static int process_usershare_file(const char *dir_name, const char *file_name, i } /* Now fstat to be *SURE* it's a regular file. */ - if (sys_fstat(fd, &sbuf, lp_fake_dir_create_times()) != 0) { + if (sys_fstat(fd, &sbuf, false) != 0) { close(fd); DEBUG(0,("process_usershare_file: fstat of %s failed. %s\n", fname, strerror(errno) )); |