summaryrefslogtreecommitdiff
path: root/source3/utils/net_usershare.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_usershare.c')
-rw-r--r--source3/utils/net_usershare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index c8d05ae657..1a385a36e0 100644
--- a/source3/utils/net_usershare.c
+++ b/source3/utils/net_usershare.c
@@ -365,7 +365,7 @@ static int info_fn(struct file_list *fl, void *priv)
}
/* Paranoia... */
- if (sys_fstat(fd, &sbuf, lp_fake_dir_create_times()) != 0) {
+ if (sys_fstat(fd, &sbuf, false) != 0) {
d_fprintf(stderr,
_("info_fn: can't fstat file %s. Error was %s\n"),
basepath, strerror(errno) );