From 9cfba5dc11db58e94c1ef828aa9274b58bdfc513 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 15 Mar 1999 14:22:38 +0000 Subject: 1999-03-15 Mark Kettenis * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to _hurd_select if TIMEMOUT is -1. --- sysdeps/mach/hurd/poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') 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) -- cgit v1.2.3