From: Tomohiro Kusumi Date: Fri, 2 Jun 2017 19:21:26 +0000 (+0300) Subject: use true/false for bool type X-Git-Tag: fio-2.21~27 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=40c494710bb1e9b5da1a4fc0d1452c31c7cc9da1;hp=e5123c4ad9b0626e25d9b243f1111fa89082308b;ds=sidebyside use true/false for bool type Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- diff --git a/init.c b/init.c index d224bd6f..2b7768ab 100644 --- a/init.c +++ b/init.c @@ -909,9 +909,9 @@ void td_fill_verify_state_seed(struct thread_data *td) bool use64; if (td->o.random_generator == FIO_RAND_GEN_TAUSWORTHE64) - use64 = 1; + use64 = true; else - use64 = 0; + use64 = false; init_rand_seed(&td->verify_state, td->rand_seeds[FIO_RAND_VER_OFF], use64); @@ -967,9 +967,9 @@ void td_fill_rand_seeds(struct thread_data *td) } if (td->o.random_generator == FIO_RAND_GEN_TAUSWORTHE64) - use64 = 1; + use64 = true; else - use64 = 0; + use64 = false; td_fill_rand_seeds_internal(td, use64);