/* O_DIRECT also only wants to read from page offsets */
pos &= ~(page_size - 1);
- if (lseek (fd, pos, SEEK_SET) == -1)
+ if (lseek64 (fd, pos, SEEK_SET) == -1)
{
g_printerr ("Error seeking to position %" G_GSSIZE_FORMAT " for %s: %m\n",
pos,
/* O_DIRECT also only wants to read from page offsets */
pos &= ~(page_size - 1);
- if (lseek (fd, pos, SEEK_SET) == -1)
+ if (lseek64 (fd, pos, SEEK_SET) == -1)
{
g_printerr ("Error seeking to position %" G_GSSIZE_FORMAT " for %s: %m\n",
pos,
pos &= ~(page_size - 1);
g_get_current_time (&begin_time);
- if (lseek (fd, pos, SEEK_SET) == -1)
+ if (lseek64 (fd, pos, SEEK_SET) == -1)
{
g_printerr ("Error seeking to position %" G_GSSIZE_FORMAT " for %s: %m\n",
pos,