summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_usershare.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index 295f9ce4d9..8f77f73994 100644
--- a/source3/utils/net_usershare.c
+++ b/source3/utils/net_usershare.c
@@ -359,9 +359,9 @@ static int info_fn(struct file_list *fl, void *priv)
}
#ifdef O_NOFOLLOW
- fd = sys_open(basepath, O_RDONLY|O_NOFOLLOW, 0);
+ fd = open(basepath, O_RDONLY|O_NOFOLLOW, 0);
#else
- fd = sys_open(basepath, O_RDONLY, 0);
+ fd = open(basepath, O_RDONLY, 0);
#endif
if (fd == -1) {