From d166b798529dab4538054d0b68797c0cc17f34de Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 12:48:00 +1100 Subject: build: Remove sys_open 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 f4e01335c5..d48ee795e8 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -8520,9 +8520,9 @@ static int process_usershare_file(const char *dir_name, const char *file_name, i /* Try and open the file read only - no symlinks allowed. */ #ifdef O_NOFOLLOW - fd = sys_open(fname, O_RDONLY|O_NOFOLLOW, 0); + fd = open(fname, O_RDONLY|O_NOFOLLOW, 0); #else - fd = sys_open(fname, O_RDONLY, 0); + fd = open(fname, O_RDONLY, 0); #endif if (fd == -1) { -- cgit