From: Jens Axboe Date: Thu, 5 Jan 2017 16:38:50 +0000 (-0700) Subject: verify: use log_verify_failure() for pattern verifies X-Git-Tag: fio-2.17~25 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d0c8ccb05060d76e74a6320449ef2e4f26a7797b verify: use log_verify_failure() for pattern verifies Similar to the other verify types, otherwise we don't get the absolute offset logged. Signed-off-by: Jens Axboe --- diff --git a/verify.c b/verify.c index 8733febc..e63a8392 100644 --- a/verify.c +++ b/verify.c @@ -393,7 +393,7 @@ static int verify_io_u_pattern(struct verify_header *hdr, struct vcont *vc) (unsigned char)pattern[mod], bits); log_err("fio: bad pattern block offset %u\n", i); - dump_verify_buffers(hdr, vc); + log_verify_failure(hdr, vc); return EILSEQ; } mod++;