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

View File

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