rdma: adapt to new init_rand_seed()
authorJens Axboe <axboe@fb.com>
Sat, 30 May 2015 19:04:33 +0000 (13:04 -0600)
committerJens Axboe <axboe@fb.com>
Sat, 30 May 2015 19:04:33 +0000 (13:04 -0600)
engines/rdma.c: In function ‘fio_rdmaio_setup’:
engines/rdma.c:1205: error: too few arguments to function ‘init_rand_seed’
make: *** [engines/rdma.o] Error 1

Signed-off-by: Jens Axboe <axboe@fb.com>
engines/rdma.c

index 50812020f64673d400ecb59658a6cfbe8f94d038..c59d5dd6e2bf0ccf900a15a8d92a8142d0a8c2fd 100644 (file)
@@ -1202,7 +1202,7 @@ static int fio_rdmaio_setup(struct thread_data *td)
                rd = malloc(sizeof(*rd));
 
                memset(rd, 0, sizeof(*rd));
-               init_rand_seed(&rd->rand_state, (unsigned int) GOLDEN_RATIO_PRIME);
+               init_rand_seed(&rd->rand_state, (unsigned int) GOLDEN_RATIO_PRIME, 0);
                td->io_ops->data = rd;
        }