summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:03:00 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commitafdb78075c29774c550625e1115ffb7eaf6e015a (patch)
tree68e98888ad009f9bfaaf97cb62f3ad1d44c3941c /source3/param
parentfe526bb32b7d65be10a05d2525b36f004215b003 (diff)
downloadsamba-afdb78075c29774c550625e1115ffb7eaf6e015a.tar.gz
samba-afdb78075c29774c550625e1115ffb7eaf6e015a.tar.bz2
samba-afdb78075c29774c550625e1115ffb7eaf6e015a.zip
build: Remove sys_readdir wrapper
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 599b48d89c..4fd09260c6 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8806,7 +8806,7 @@ int load_usershare_shares(struct smbd_server_connection *sconn,
}
for (num_dir_entries = 0, num_bad_dir_entries = 0, num_tmp_dir_entries = 0;
- (de = sys_readdir(dp));
+ (de = readdir(dp));
num_dir_entries++ ) {
int r;
const char *n = de->d_name;