summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 69debce312..9e50daa971 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8823,8 +8823,7 @@ int load_usershare_service(const char *servicename)
return -1;
}
- if (sys_stat(usersharepath, &sbuf, lp_fake_dir_create_times())
- != 0) {
+ if (sys_stat(usersharepath, &sbuf, false) != 0) {
DEBUG(0,("load_usershare_service: stat of %s failed. %s\n",
usersharepath, strerror(errno) ));
return -1;