projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
36d108a
)
eta: use struct jobs_eta_packed
author
Jens Axboe
<axboe@kernel.dk>
Wed, 14 Aug 2019 21:16:09 +0000
(15:16 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 14 Aug 2019 21:16:09 +0000
(15:16 -0600)
I think this is why the build fails for some, which is odd.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
eta.c
patch
|
blob
|
blame
|
history
diff --git
a/eta.c
b/eta.c
index 286b45ee3837f5e613ffe53120b3ef7045c94a9a..9950ef3032631ce052f8efae6d91390940acd3d0 100644
(file)
--- 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';