summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 9e50daa971..ce235edf5b 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8900,8 +8900,7 @@ int load_usershare_shares(void)
return lp_numservices();
}
- if (sys_stat(usersharepath, &sbuf, lp_fake_dir_create_times())
- != 0) {
+ if (sys_stat(usersharepath, &sbuf, false) != 0) {
DEBUG(0,("load_usershare_shares: stat of %s failed. %s\n",
usersharepath, strerror(errno) ));
return ret;