projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iolog: get rid of one section of CONFIG_ZLIB ifdef
[fio.git]
/
verify.c
diff --git
a/verify.c
b/verify.c
index 184f3a7f821b52487557b352e3b2f201a475905c..261570127c5b21cf8cc6797877d997102c58a1cf 100644
(file)
--- a/
verify.c
+++ b/
verify.c
@@
-720,7
+720,7
@@
static int verify_header(struct io_u *io_u, struct verify_header *hdr,
hdr->magic, FIO_HDR_MAGIC);
goto err;
}
- if (hdr->len
> io_u->buf
len) {
+ if (hdr->len
!= hdr_
len) {
log_err("verify: bad header length %u, wanted %u",
hdr->len, hdr_len);
goto err;