diff options
| author | David Xu <davidxu@FreeBSD.org> | 2005-06-22 22:35:49 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2005-06-22 22:35:49 +0000 |
| commit | 86a07ac0685eca0d7b9b01101df45ac559802b3c (patch) | |
| tree | 4c87c8c6e821f85afb859572385ffe170b99f8ab /lib/libpthread/thread | |
| parent | 5dea8a444f3d76bf882bc42bd5042a6c2505ef34 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread')
| -rw-r--r-- | lib/libpthread/thread/thr_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index c6290384c9d4..e2055bc1da64 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -106,7 +106,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; \ } \ |
