Add more context to the error messages
[fio.git] / engines / cpu.c
index 27ec6da1f261575bdd98999cacb81184e2c78d77..6ad547b60ad597cf2e06c27c08e05960692914ef 100644 (file)
@@ -9,7 +9,7 @@ static int fio_cpuio_setup(struct thread_data fio_unused *td)
 static int fio_cpuio_init(struct thread_data *td)
 {
        if (!td->cpuload) {
 static int fio_cpuio_init(struct thread_data *td)
 {
        if (!td->cpuload) {
-               td_vmsg(td, EINVAL, "cpu thread needs rate");
+               td_vmsg(td, EINVAL, "cpu thread needs rate", "cpu_load");
                return 1;
        } else if (td->cpuload > 100)
                td->cpuload = 100;
                return 1;
        } else if (td->cpuload > 100)
                td->cpuload = 100;