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/libgpo/gpo_filesync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libgpo') diff --git a/source3/libgpo/gpo_filesync.c b/source3/libgpo/gpo_filesync.c index 7f0e4107d6..6e3efdaf6c 100644 --- a/source3/libgpo/gpo_filesync.c +++ b/source3/libgpo/gpo_filesync.c @@ -55,7 +55,7 @@ NTSTATUS gpo_copy_file(TALLOC_CTX *mem_ctx, goto out; } - if ((fd = sys_open(unix_path, O_WRONLY|O_CREAT|O_TRUNC, 0644)) == -1) { + if ((fd = open(unix_path, O_WRONLY|O_CREAT|O_TRUNC, 0644)) == -1) { result = map_nt_error_from_unix(errno); goto out; } -- cgit