projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A few fixes for 32-bit compiles
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index 7df0abac0bf9a427fbb8273ddf6f151797c8fead..e0b0f22e96d994b74f00153dd64509dd7b2a930d 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-489,7
+489,7
@@
int do_io_u_trim(struct thread_data *td, struct io_u *io_u)
struct fio_file *f = io_u->file;
int ret;
- ret = os_trim(f->fd, io_u->offset
+ f->file_offset
, io_u->xfer_buflen);
+ ret = os_trim(f->fd, io_u->offset, io_u->xfer_buflen);
if (!ret)
return io_u->xfer_buflen;;