From 43e9be8894a2eaf883453de78acbade7b391a53e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 12:37:04 +1100 Subject: build: Remove sys_lseek wrapper --- source3/lib/dbwrap/dbwrap_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib/dbwrap') 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); } -- cgit