From 40c494710bb1e9b5da1a4fc0d1452c31c7cc9da1 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Fri, 2 Jun 2017 22:21:26 +0300 Subject: [PATCH 1/1] use true/false for bool type Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.25.1