diff --git a/pgxn/neon/file_cache.c b/pgxn/neon/file_cache.c index 654daff074..ace6438902 100644 --- a/pgxn/neon/file_cache.c +++ b/pgxn/neon/file_cache.c @@ -1345,7 +1345,7 @@ lfc_readv_select(NRelFileInfo rinfo, ForkNumber forkNum, BlockNumber blkno, if (!BITMAP_ISSET(chunk_mask, i)) continue; Assert(iov[first_block_in_chunk_read + i].iov_len == BLCKSZ); - rc = pread_with_ioctl(&iov[first_block_in_chunk_read + i].iov_base, first_read_offset + i); + rc = pread_with_ioctl(iov[first_block_in_chunk_read + i].iov_base, first_read_offset + i); if (rc < 0 && errno == ENOENT) { /* The kernel module evicted the page */