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:
Roland McGrath 1999-03-15 14:22:38 +00:00
parent 5632741ec7
commit 9cfba5dc11
1 changed files with 1 additions and 1 deletions

View File

@ -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)