projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
filesetup: Initialize all members of struct fio_file
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index dd8f6eb2b0f67660d56582142f81ba64a98a825d..1a187ff2648d35c933740852751cd147c2ec0a36 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-1481,7
+1481,7
@@
static struct fio_file *alloc_new_file(struct thread_data *td)
if (td_ioengine_flagged(td, FIO_NOFILEHASH))
f = calloc(1, sizeof(*f));
else
- f = s
malloc(
sizeof(*f));
+ f = s
calloc(1,
sizeof(*f));
if (!f) {
assert(0);
return NULL;