X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=init.c;h=8cb81179f60a8c80201b81dcc80977f0ea5bf5cf;hb=5fff95436922873dd9ded8b21af7222689e2ec5d;hp=af4cc6b75babde048f72c77de353e1f3ae031d94;hpb=bfd986752ad053175423ffe3bbbeb07803f8ad4a;p=fio.git diff --git a/init.c b/init.c index af4cc6b7..8cb81179 100644 --- a/init.c +++ b/init.c @@ -531,7 +531,7 @@ static void put_job(struct thread_data *td) static int __setup_rate(struct thread_data *td, enum fio_ddir ddir) { - unsigned int bs = td->o.min_bs[ddir]; + unsigned long long bs = td->o.min_bs[ddir]; assert(ddir_rw(ddir)); @@ -891,7 +891,7 @@ static int fixup_options(struct thread_data *td) * If size is set but less than the min block size, complain */ if (o->size && o->size < td_min_bs(td)) { - log_err("fio: size too small, must not be less than minimum block size: %llu < %u\n", + log_err("fio: size too small, must not be less than minimum block size: %llu < %llu\n", (unsigned long long) o->size, td_min_bs(td)); ret |= 1; }