summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 12:48:00 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:08 +0200
commitd166b798529dab4538054d0b68797c0cc17f34de (patch)
tree8bbdeba0c71b1819abe153e7bf3a2c024adc42cf /source3/web
parent9cc056e567fe923bb3a19fce3828cdbea9a3d2f7 (diff)
downloadsamba-d166b798529dab4538054d0b68797c0cc17f34de.tar.gz
build: Remove sys_open wrapper
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/neg_lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/neg_lang.c b/source3/web/neg_lang.c
index 59475d12b57..09eff7ea08c 100644
--- a/source3/web/neg_lang.c
+++ b/source3/web/neg_lang.c
@@ -34,7 +34,7 @@ int web_open(const char *fname, int flags, mode_t mode)
int fd;
if (lang) {
if (asprintf(&p, "lang/%s/%s", lang, fname) != -1) {
- fd = sys_open(p, flags, mode);
+ fd = open(p, flags, mode);
free(p);
if (fd != -1) {
return fd;
@@ -43,7 +43,7 @@ int web_open(const char *fname, int flags, mode_t mode)
}
/* fall through to default name */
- return sys_open(fname, flags, mode);
+ return open(fname, flags, mode);
}