From ec4dde5948a52c5bf8dcfe3b1c43912ddef2538e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sat, 30 May 2015 13:04:33 -0600 Subject: [PATCH] rdma: adapt to new init_rand_seed() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- engines/rdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/rdma.c b/engines/rdma.c index 50812020..c59d5dd6 100644 --- a/engines/rdma.c +++ b/engines/rdma.c @@ -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; } -- 2.25.1