mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
8e205e0324
commit
6e71208db3
@ -125,7 +125,7 @@ int ppoll(struct pollfd fds[], nfds_t nfds,
|
||||
const sigset_t*)
|
||||
{
|
||||
int timeout_ms = timeout ?
|
||||
(timeout->tv_sec * 1000 + timeout->tv_nsec / 1000) :
|
||||
(timeout->tv_sec * 1000 + timeout->tv_nsec / 1000000) :
|
||||
-1;
|
||||
return poll(fds, nfds, timeout_ms);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user