summaryrefslogtreecommitdiff
path: root/lib/libc_r
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-08-15 15:47:57 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-08-15 15:47:57 +0000
commit2f5ed703e94f8f5e84938e49aaf8aee998e759d1 (patch)
tree74b8d7c457e5f62b73c041e1acb60425cf3bc218 /lib/libc_r
parent0100ee14a479110fe3e4756063d5ea95b2f7941f (diff)
Use INFTIM.
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/uthread/uthread_poll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_poll.c b/lib/libc_r/uthread/uthread_poll.c
index b5b4a84c9c6..022b46f308b 100644
--- a/lib/libc_r/uthread/uthread_poll.c
+++ b/lib/libc_r/uthread/uthread_poll.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_poll.c,v 1.4 2000/01/06 08:28:53 d Exp $ */
+/* $OpenBSD: uthread_poll.c,v 1.5 2001/08/15 15:47:56 fgsch Exp $ */
/*
* Copyright (c) 1999 Daniel Eischen <eischen@vigrid.com>
* All rights reserved.
@@ -56,7 +56,7 @@ poll(struct pollfd fds[], int nfds, int timeout)
numfds = _thread_dtablesize;
}
/* Check if a timeout was specified: */
- if (timeout == -1) {
+ if (timeout == INFTIM) {
/* Wait for ever: */
_thread_kern_set_timeout(NULL);
} else if (timeout > 0) {