summaryrefslogtreecommitdiff
path: root/libc/rt
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-03-09 23:15:08 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-03-09 23:15:08 +0000
commit06d9d5232ea8ec9fc7e55acdbdd9a87f09d06755 (patch)
treec770ee56ff6e05867d488acee6e10cc82eb47149 /libc/rt
parent66de1db7a3d01ae2686765cdad22f95a8fa0652d (diff)
Merge changes between r17457 and r17501 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@17502 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/rt')
-rw-r--r--libc/rt/tst-cpuclock2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/rt/tst-cpuclock2.c b/libc/rt/tst-cpuclock2.c
index e3545f2e3..9a74eb014 100644
--- a/libc/rt/tst-cpuclock2.c
+++ b/libc/rt/tst-cpuclock2.c
@@ -110,7 +110,7 @@ test_nanosleep (clockid_t clock, const char *which,
struct timespec sleeptimeabs = sleeptime;
sleeptimeabs.tv_sec += after.tv_sec;
sleeptimeabs.tv_nsec += after.tv_nsec;
- while (sleeptimeabs.tv_nsec > 1000000000)
+ while (sleeptimeabs.tv_nsec >= 1000000000)
{
++sleeptimeabs.tv_sec;
sleeptimeabs.tv_nsec -= 1000000000;