summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:01:19 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commitfe526bb32b7d65be10a05d2525b36f004215b003 (patch)
treead05557880529acfe09c4ffb8bd30ffdac6a55a1 /source3/param
parentb74fe73a6fb5862121235f18bc1dfe538e6ceaed (diff)
downloadsamba-fe526bb32b7d65be10a05d2525b36f004215b003.tar.gz
samba-fe526bb32b7d65be10a05d2525b36f004215b003.tar.bz2
samba-fe526bb32b7d65be10a05d2525b36f004215b003.zip
build: Remove sys_opendir wrapper
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index d48ee795e8..599b48d89c 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8388,7 +8388,7 @@ enum usershare_err parse_usershare_file(TALLOC_CTX *ctx,
}
/* Ensure this is pointing to a directory. */
- dp = sys_opendir(sharepath);
+ dp = opendir(sharepath);
if (!dp) {
DEBUG(2,("parse_usershare_file: share %s path %s is not a directory.\n",
@@ -8798,7 +8798,7 @@ int load_usershare_shares(struct smbd_server_connection *sconn,
}
}
- dp = sys_opendir(usersharepath);
+ dp = opendir(usersharepath);
if (!dp) {
DEBUG(0,("load_usershare_shares:: failed to open directory %s. %s\n",
usersharepath, strerror(errno) ));