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);
}