diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-28 12:37:04 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 02:39:08 +0200 |
commit | 43e9be8894a2eaf883453de78acbade7b391a53e (patch) | |
tree | 86c52757bd1824edfa0418969963cc30076379e3 /source3/lib/dbwrap | |
parent | 5c89d12ca43e7949ace93c75ce59ca9fc0606521 (diff) | |
download | samba-43e9be8894a2eaf883453de78acbade7b391a53e.tar.gz samba-43e9be8894a2eaf883453de78acbade7b391a53e.tar.bz2 samba-43e9be8894a2eaf883453de78acbade7b391a53e.zip |
build: Remove sys_lseek wrapper
Diffstat (limited to 'source3/lib/dbwrap')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/dbwrap/dbwrap_file.c b/source3/lib/dbwrap/dbwrap_file.c index 8e513b5ad2..5b0da3a810 100644 --- a/source3/lib/dbwrap/dbwrap_file.c +++ b/source3/lib/dbwrap/dbwrap_file.c @@ -199,8 +199,8 @@ static struct db_record *db_file_fetch_locked(struct db_context *db, static NTSTATUS db_file_store_root(int fd, TDB_DATA data) { - if (sys_lseek(fd, 0, SEEK_SET) != 0) { - DEBUG(0, ("sys_lseek failed: %s\n", strerror(errno))); + if (lseek(fd, 0, SEEK_SET) != 0) { + DEBUG(0, ("lseek failed: %s\n", strerror(errno))); return map_nt_error_from_unix(errno); } |