diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-28 12:48:00 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 02:39:08 +0200 |
commit | d166b798529dab4538054d0b68797c0cc17f34de (patch) | |
tree | 8bbdeba0c71b1819abe153e7bf3a2c024adc42cf /source3/web | |
parent | 9cc056e567fe923bb3a19fce3828cdbea9a3d2f7 (diff) | |
download | samba-d166b798529dab4538054d0b68797c0cc17f34de.tar.gz samba-d166b798529dab4538054d0b68797c0cc17f34de.tar.bz2 samba-d166b798529dab4538054d0b68797c0cc17f34de.zip |
build: Remove sys_open wrapper
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/neg_lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/neg_lang.c b/source3/web/neg_lang.c index 59475d12b5..09eff7ea08 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); } |