Skip to content

Commit

Permalink
Merge branch 'fix_verify_block_offset' of https://github.com/ipylypiv…
Browse files Browse the repository at this point in the history
…/fio

* 'fix_verify_block_offset' of https://github.com/ipylypiv/fio:
  verify: Fix the bad pattern block offset value
  • Loading branch information
axboe committed Sep 29, 2023
2 parents 996ac91 + 242c63d commit 06812a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion verify.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@ static int verify_io_u_pattern(struct verify_header *hdr, struct vcont *vc)
(unsigned char)buf[i],
(unsigned char)pattern[mod],
bits);
log_err("fio: bad pattern block offset %u\n", i);
log_err("fio: bad pattern block offset %u\n",
i + header_size);
vc->name = "pattern";
log_verify_failure(hdr, vc);
return EILSEQ;
Expand Down

0 comments on commit 06812a4

Please sign in to comment.