Improve logging accuracy
[fio.git] / diskutil.c
index c25c5c9dccc965bb45e8eaf6cbbcd91afca4e99e..315c1e10a2d8e18482585696ae30594d1999c217 100644 (file)
@@ -121,7 +121,7 @@ int update_io_ticks(void)
 
        fio_mutex_down(disk_util_mutex);
 
-       if (!helper_exit) {
+       if (!helper_should_exit()) {
                flist_for_each(entry, &disk_list) {
                        du = flist_entry(entry, struct disk_util, list);
                        update_io_tick_disk(du);