1999-03-15 Mark Kettenis <kettenis@gnu.org>
authorRoland McGrath <roland@gnu.org>
Mon, 15 Mar 1999 14:22:38 +0000 (14:22 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 15 Mar 1999 14:22:38 +0000 (14:22 +0000)
* sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
_hurd_select if TIMEMOUT is -1.

sysdeps/mach/hurd/poll.c

index a6d91b5..ef3318e 100644 (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)