X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=profiles%2Ftiobench.c;fp=profiles%2Ftiobench.c;h=aba0785c6eef6ab863cf1f8af039b2176bc113bb;hp=4bdcfa24396580109aba6c4eab4590db6c703a18;hb=07b3232de97ac32a873f0b5d17c8f49c18ed3ae7;hpb=9f81736c7531e002038621577d5ffea571649bd7 diff --git a/profiles/tiobench.c b/profiles/tiobench.c index 4bdcfa24..aba0785c 100644 --- a/profiles/tiobench.c +++ b/profiles/tiobench.c @@ -92,7 +92,8 @@ static struct profile_ops tiobench_profile = { static void fio_init tiobench_register(void) { - register_profile(&tiobench_profile); + if (register_profile(&tiobench_profile)) + log_err("fio: failed to register profile 'tiobench'\n"); } static void fio_exit tiobench_unregister(void)