projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fio 3.12
[fio.git]
/
verify.c
diff --git
a/verify.c
b/verify.c
index 40d484b5c60a6ac281a2d6da5f328be3b15e3f0a..01492f24f9a0336c3b09ebb295aa0afe6963c4bd 100644
(file)
--- a/
verify.c
+++ b/
verify.c
@@
-801,7
+801,7
@@
static int verify_trimmed_io_u(struct thread_data *td, struct io_u *io_u)
mem_is_zero_slow(io_u->buf, io_u->buflen, &offset);
mem_is_zero_slow(io_u->buf, io_u->buflen, &offset);
- log_err("trim: verify failed at file %s offset %llu, length %lu"
+ log_err("trim: verify failed at file %s offset %llu, length %l
l
u"
", block offset %lu\n",
io_u->file->file_name, io_u->offset, io_u->buflen,
(unsigned long) offset);
", block offset %lu\n",
io_u->file->file_name, io_u->offset, io_u->buflen,
(unsigned long) offset);
@@
-1517,7
+1517,7
@@
int paste_blockoff(char *buf, unsigned int len, void *priv)
struct io_u *io = priv;
unsigned long long off;
struct io_u *io = priv;
unsigned long long off;
- typecheck(
typeof
(off), io->offset);
+ typecheck(
__typeof__
(off), io->offset);
off = cpu_to_le64((uint64_t)io->offset);
len = min(len, (unsigned int)sizeof(off));
memcpy(buf, &off, len);
off = cpu_to_le64((uint64_t)io->offset);
len = min(len, (unsigned int)sizeof(off));
memcpy(buf, &off, len);