summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/null.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/null.c b/engines/null.c
index 570f75d3..8a4d106b 100644
--- a/engines/null.c
+++ b/engines/null.c
@@ -139,8 +139,7 @@ static void fio_null_cleanup(struct thread_data *td)
static int fio_null_init(struct thread_data *td)
{
- struct null_data *nd = (struct null_data *)td->io_ops_data;
- return null_init(td, &nd);
+ return null_init(td, (struct null_data **)&td->io_ops_data);
}
static struct ioengine_ops ioengine = {