Merge branch 'master' into gfio
[fio.git] / eta.c
diff --git a/eta.c b/eta.c
index 0833d3412450a6ddd788369cf2c064f41918ef34..64c02fe2d3690e9ff3421d94d233fc01d2bcf903 100644 (file)
--- a/eta.c
+++ b/eta.c
@@ -7,7 +7,7 @@
 
 #include "fio.h"
 
-void (*update_thread_status)(char *status_message) = NULL;
+void (*update_thread_status)(char *status_message, double perc) = NULL;
 
 static char run_str[REAL_MAX_JOBS + 1];
 
@@ -414,7 +414,7 @@ void display_thread_status(struct jobs_eta *je)
        p += sprintf(p, "\r");
 
        if (update_thread_status) {
-               update_thread_status(output);
+               update_thread_status(output, perc);
        } else {
                printf("%s", output);
                fflush(stdout);