X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=eta.c;fp=eta.c;h=0b795263325bbef5372cfb8a6760ed3b089da521;hp=d019747b94587a1e951d253512044b52d954b8a1;hb=2b34ccadbe56eca1d41cf8eb3ddfb32d8f28dd73;hpb=45d41a8b4a338404b838e6e5dcae376159d8dfb9 diff --git a/eta.c b/eta.c index d019747b..0b795263 100644 --- a/eta.c +++ b/eta.c @@ -520,7 +520,7 @@ void display_thread_status(struct jobs_eta *je) static int eta_new_line_init, eta_new_line_pending; static int linelen_last; static int eta_good; - char output[REAL_MAX_JOBS + 512], *p = output; + char output[__THREAD_RUNSTR_SZ(REAL_MAX_JOBS) + 512], *p = output; char eta_str[128]; double perc = 0.0;