X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=backend.c;h=76e456f1295da2d827269c27716ef63cbd33af43;hp=bb8bd13bd11f973e616fd3897483e27ec833cbc5;hb=f1867a7f9e588acf67cf8fa96eab8a6e2fdedcf6;hpb=d5bb0a8902b787718e7027be85573773781f0898 diff --git a/backend.c b/backend.c index bb8bd13b..76e456f1 100644 --- a/backend.c +++ b/backend.c @@ -53,7 +53,7 @@ static struct fio_sem *startup_sem; static struct flist_head *cgroup_list; static struct cgroup_mnt *cgroup_mnt; static int exit_value; -static volatile int fio_abort; +static volatile bool fio_abort; static unsigned int nr_process = 0; static unsigned int nr_thread = 0; @@ -2371,7 +2371,7 @@ reap: if (fio_sem_down_timeout(startup_sem, 10000)) { log_err("fio: job startup hung? exiting.\n"); fio_terminate_threads(TERMINATE_ALL); - fio_abort = 1; + fio_abort = true; nr_started--; free(fd); break;