diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-01 20:21:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:11 -0500 |
commit | 652b8b34f8b326f79771b03e039cfa3c6ba3427e (patch) | |
tree | 3cecbca36a8cb70b54df76c303894c06b7d63953 /source4/lib/xfile.c | |
parent | dde06904576dfe01e9710721209650dcff228593 (diff) | |
download | samba-652b8b34f8b326f79771b03e039cfa3c6ba3427e.tar.gz samba-652b8b34f8b326f79771b03e039cfa3c6ba3427e.tar.bz2 samba-652b8b34f8b326f79771b03e039cfa3c6ba3427e.zip |
r3441: some include file cleanups and general housekeeping
(This used to be commit 73ea8ee6c268371d05cf74160f2ad451dd2ae699)
Diffstat (limited to 'source4/lib/xfile.c')
-rw-r--r-- | source4/lib/xfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/xfile.c b/source4/lib/xfile.c index e01723904f..8572bd857a 100644 --- a/source4/lib/xfile.c +++ b/source4/lib/xfile.c @@ -109,7 +109,7 @@ XFILE *x_fopen(const char *fname, int flags, mode_t mode) ret->open_flags = flags; - ret->fd = sys_open(fname, flags, mode); + ret->fd = open(fname, flags, mode); if (ret->fd == -1) { SAFE_FREE(ret); return NULL; @@ -379,5 +379,5 @@ off_t x_tseek(XFILE *f, off_t offset, int whence) } f->flags &= ~X_FLAG_EOF; - return (off_t)sys_lseek(f->fd, offset, whence); + return lseek(f->fd, offset, whence); } |