summaryrefslogtreecommitdiff
path: root/src/libs6/ftrigr_wait_and.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6/ftrigr_wait_and.c')
-rw-r--r--src/libs6/ftrigr_wait_and.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs6/ftrigr_wait_and.c b/src/libs6/ftrigr_wait_and.c
index 92080e7..dee03fd 100644
--- a/src/libs6/ftrigr_wait_and.c
+++ b/src/libs6/ftrigr_wait_and.c
@@ -19,8 +19,9 @@ int ftrigr_wait_and (ftrigr_t *a, uint16_t const *idlist, unsigned int n, tain_t
r = iopause_stamp(&x, 1, deadline, stamp) ;
if (r < 0) return r ;
else if (!r) return (errno = ETIMEDOUT, -1) ;
- else if (ftrigr_update(a) < 0) return -1 ;
+ else if (ftrigr_updateb(a) < 0) return -1 ;
}
}
+
return 1 ;
}