1999-03-15 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to _hurd_select if TIMEMOUT is -1.
This commit is contained in:
parent
5632741ec7
commit
9cfba5dc11
|
@ -45,6 +45,6 @@ __poll (fds, nfds, timeout)
|
|||
to = &ts;
|
||||
}
|
||||
|
||||
return _hurd_select (nfds, fds, NULL, NULL, NULL, &ts, NULL);
|
||||
return _hurd_select (nfds, fds, NULL, NULL, NULL, to, NULL);
|
||||
}
|
||||
weak_alias (__poll, poll)
|
||||
|
|
Loading…
Reference in New Issue