diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-28 13:01:19 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 02:39:09 +0200 |
commit | fe526bb32b7d65be10a05d2525b36f004215b003 (patch) | |
tree | ad05557880529acfe09c4ffb8bd30ffdac6a55a1 /source3/utils | |
parent | b74fe73a6fb5862121235f18bc1dfe538e6ceaed (diff) | |
download | samba-fe526bb32b7d65be10a05d2525b36f004215b003.tar.gz samba-fe526bb32b7d65be10a05d2525b36f004215b003.tar.bz2 samba-fe526bb32b7d65be10a05d2525b36f004215b003.zip |
build: Remove sys_opendir wrapper
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_usershare.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index 8f77f73994..b9e0cb5152 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -217,7 +217,7 @@ static int get_share_list(TALLOC_CTX *ctx, const char *wcard, bool only_ours) if (!basepath) { return -1; } - dp = sys_opendir(basepath); + dp = opendir(basepath); if (!dp) { d_fprintf(stderr, _("get_share_list: cannot open usershare directory %s. " @@ -556,7 +556,7 @@ static int count_num_usershares(void) return -1; } - dp = sys_opendir(basepath); + dp = opendir(basepath); if (!dp) { d_fprintf(stderr, _("count_num_usershares: cannot open usershare " @@ -1104,7 +1104,7 @@ int net_usershare(struct net_context *c, int argc, const char **argv) return -1; } - dp = sys_opendir(lp_usershare_path()); + dp = opendir(lp_usershare_path()); if (!dp) { int err = errno; d_fprintf(stderr, |