From fe526bb32b7d65be10a05d2525b36f004215b003 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 13:01:19 +1100 Subject: build: Remove sys_opendir wrapper --- source3/param/loadparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/param') 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) )); -- cgit