aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)