diff options
| author | Jason Evans <jasone@FreeBSD.org> | 2000-01-22 09:15:15 +0000 |
|---|---|---|
| committer | Jason Evans <jasone@FreeBSD.org> | 2000-01-22 09:15:15 +0000 |
| commit | 0c5d1a336180c398eefb902e1d5e704aaf19c2b0 (patch) | |
| tree | 73189f054658ad5f446fbe97057c5af6bf49e92e /lib/libpthread/thread/thr_poll.c | |
| parent | aaaa7e3448ff28dbb3b303c09e079e07ec1786d5 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_poll.c')
| -rw-r--r-- | lib/libpthread/thread/thr_poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_poll.c b/lib/libpthread/thread/thr_poll.c index ce2b7af56bc1..fb6a266ff98b 100644 --- a/lib/libpthread/thread/thr_poll.c +++ b/lib/libpthread/thread/thr_poll.c @@ -61,7 +61,7 @@ _libc_poll(struct pollfd *fds, unsigned int nfds, int timeout) } else if (timeout > 0) { /* Convert the timeout in msec to a timespec: */ ts.tv_sec = timeout / 1000; - ts.tv_nsec = (timeout % 1000) * 1000; + ts.tv_nsec = (timeout % 1000) * 1000000; /* Set the wake up time: */ _thread_kern_set_timeout(&ts); |
