From: Jens Axboe Date: Wed, 14 Aug 2019 21:16:09 +0000 (-0600) Subject: eta: use struct jobs_eta_packed X-Git-Tag: fio-3.16~25 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=dc54b6ca3209c2da3df30e96d097f6de29d56d24;p=fio.git eta: use struct jobs_eta_packed I think this is why the build fails for some, which is odd. Signed-off-by: Jens Axboe --- diff --git a/eta.c b/eta.c index 286b45ee..9950ef30 100644 --- a/eta.c +++ b/eta.c @@ -733,8 +733,9 @@ void print_thread_status(void) void print_status_init(int thr_number) { - compiletime_assert(sizeof(struct jobs_eta) == - sizeof(struct jobs_eta_packed), "jobs_eta"); + struct jobs_eta_packed jep; + + compiletime_assert(sizeof(struct jobs_eta) == sizeof(jep), "jobs_eta"); DRD_IGNORE_VAR(__run_str); __run_str[thr_number] = 'P';