summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:02:26 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:03 +0100
commit36eed017301fdb7ab017b8ccaab6a877aa0d8727 (patch)
tree49f66b745a05263e35f6ef80a39f123da4d4862b /source3/utils
parent7c657098872588ac209ae30d40b08e88c003a05b (diff)
downloadsamba-36eed017301fdb7ab017b8ccaab6a877aa0d8727.tar.gz
samba-36eed017301fdb7ab017b8ccaab6a877aa0d8727.tar.bz2
samba-36eed017301fdb7ab017b8ccaab6a877aa0d8727.zip
s3: "count_num_usershares" only looks at the mode
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_usershare.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index 1a385a36e0..eb7508fe12 100644
--- a/source3/utils/net_usershare.c
+++ b/source3/utils/net_usershare.c
@@ -585,8 +585,7 @@ static int count_num_usershares(void)
return -1;
}
- if (sys_lstat(path, &sbuf, lp_fake_dir_create_times())
- != 0) {
+ if (sys_lstat(path, &sbuf, false) != 0) {
d_fprintf(stderr,
_("count_num_usershares: can't lstat file %s. "
"Error was %s\n"),