projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfacf38
)
Include file name in offset failure
author
Jens Axboe
<jaxboe@fusionio.com>
Fri, 18 Jun 2010 12:32:21 +0000
(14:32 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Fri, 18 Jun 2010 12:32:21 +0000
(14:32 +0200)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
verify.c
patch
|
blob
|
blame
|
history
diff --git
a/verify.c
b/verify.c
index e827d76edc82a8dee04ea99394a7e19cd7012d73..bb0aba77f96400f66e7729a202773a905c944d2c 100644
(file)
--- a/
verify.c
+++ b/
verify.c
@@
-182,8
+182,8
@@
static void log_verify_failure(struct verify_header *hdr, struct vcont *vc)
offset = vc->io_u->offset;
offset += vc->hdr_num * hdr->len;
- log_err("%.8s: verify failed at file offset %llu, length %u\n",
- vc->name, offset, hdr->len);
+ log_err("%.8s: verify failed at file
%s
offset %llu, length %u\n",
+ vc->name,
vc->io_u->file->file_name,
offset, hdr->len);
if (vc->good_crc && vc->bad_crc) {
log_err(" Expected CRC: ");