rand: cleanup rand_between() and helpers
[fio.git] / engines / sync.c
index 3f36da824ec30e1e95111561f480abadfa5780e8..b3e1c9db8ba3eeb9d87567dc53b69de5759be715 100644 (file)
@@ -150,7 +150,7 @@ static enum fio_q_status fio_pvsyncio2_queue(struct thread_data *td,
        fio_ro_check(td, io_u);
 
        if (o->hipri &&
-           (rand32_between(&sd->rand_state, 1, 100) <= o->hipri_percentage))
+           (rand_between(&sd->rand_state, 1, 100) <= o->hipri_percentage))
                flags |= RWF_HIPRI;
 
        iov->iov_base = io_u->xfer_buf;