diff options
| author | David Xu <davidxu@FreeBSD.org> | 2005-06-22 22:38:56 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2005-06-22 22:38:56 +0000 |
| commit | 3adc17c503f1b843f714094992c96014b4edd8ca (patch) | |
| tree | 91f0afc2495ab9766119e3a5479b2e096419d233 /lib/libthr | |
| parent | 86a07ac0685eca0d7b9b01101df45ac559802b3c (diff) | |
Notes
Diffstat (limited to 'lib/libthr')
| -rw-r--r-- | lib/libthr/thread/thr_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h index 3c4f9edd29a3..65e258d57b09 100644 --- a/lib/libthr/thread/thr_private.h +++ b/lib/libthr/thread/thr_private.h @@ -94,7 +94,7 @@ do { \ (dst)->tv_sec = (src)->tv_sec + (val)->tv_sec; \ (dst)->tv_nsec = (src)->tv_nsec + (val)->tv_nsec; \ - if ((dst)->tv_nsec > 1000000000) { \ + if ((dst)->tv_nsec >= 1000000000) { \ (dst)->tv_sec++; \ (dst)->tv_nsec -= 1000000000; \ } \ |
