aio: use old timespec for compatibility

This commit is contained in:
Thomas Schoebel-Theuer 2021-01-27 13:09:23 +01:00 committed by Thomas Schoebel-Theuer
parent 0d885eeef8
commit bb6506476f
1 changed files with 1 additions and 1 deletions

View File

@ -672,7 +672,7 @@ static int aio_event_thread(void *data)
mm_segment_t oldfs; mm_segment_t oldfs;
int count; int count;
int i; int i;
struct lamport_time timeout = { struct timespec timeout = {
.tv_nsec = .tv_nsec =
tinfo->should_terminate || tinfo->should_terminate ||
!brick->power.button ? 0 : 100000, !brick->power.button ? 0 : 100000,