Cleanup profile support
[fio.git] / profiles / tiobench.c
index 4bdcfa24396580109aba6c4eab4590db6c703a18..aba0785c6eef6ab863cf1f8af039b2176bc113bb 100644 (file)
@@ -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)