[PATCH] Improve rate functionality
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index 84819d9f51e996b2a25c35f1da29a62772b99e8b..225aaa4d4550c2ea385f8eaaee70b9b8d1bc321d 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -449,7 +449,7 @@ static void do_io(struct thread_data *td)
                if (check_min_rate(td, &icd.time)) {
                        if (exitall_on_terminate)
                                terminate_threads(td->groupid, 0);
                if (check_min_rate(td, &icd.time)) {
                        if (exitall_on_terminate)
                                terminate_threads(td->groupid, 0);
-                       td_verror(td, ENOMEM);
+                       td_verror(td, ENODATA);
                        break;
                }
 
                        break;
                }