aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-03-15 14:22:38 +0000
committerRoland McGrath <roland@gnu.org>1999-03-15 14:22:38 +0000
commit9cfba5dc11db58e94c1ef828aa9274b58bdfc513 (patch)
treec83b52a62623cb3205cfb6a90e99e6a93af49cd2 /sysdeps
parent5632741ec7b280e194dc4782be4d16fa08e94379 (diff)
downloadglibc-9cfba5dc11db58e94c1ef828aa9274b58bdfc513.tar
glibc-9cfba5dc11db58e94c1ef828aa9274b58bdfc513.tar.gz
glibc-9cfba5dc11db58e94c1ef828aa9274b58bdfc513.tar.bz2
glibc-9cfba5dc11db58e94c1ef828aa9274b58bdfc513.zip
1999-03-15 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to _hurd_select if TIMEMOUT is -1.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/poll.c b/sysdeps/mach/hurd/poll.c
index a6d91b5473..ef3318e171 100644
--- a/sysdeps/mach/hurd/poll.c
+++ b/sysdeps/mach/hurd/poll.c
@@ -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)