summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 12:37:04 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:08 +0200
commit43e9be8894a2eaf883453de78acbade7b391a53e (patch)
tree86c52757bd1824edfa0418969963cc30076379e3 /source3/lib/dbwrap
parent5c89d12ca43e7949ace93c75ce59ca9fc0606521 (diff)
downloadsamba-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.c4
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);
}