projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ffz() takes ints, so change the file_map to being int based
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index 662d55d7cf9d1087750a209fee471de0203dc532..dd70e1dd733a702cf571b054c60d6e815c9dd5c0 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-362,7
+362,7
@@
int td_io_open_file(struct thread_data *td, struct fio_file *f)
}
if (f->file_map)
- memset(f->file_map, 0, f->num_maps * sizeof(
long
));
+ memset(f->file_map, 0, f->num_maps * sizeof(
int
));
done:
log_file(td, f, FIO_LOG_OPEN_FILE);