diff options
Diffstat (limited to 'libjava/posix-threads.cc')
-rw-r--r-- | libjava/posix-threads.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/posix-threads.cc b/libjava/posix-threads.cc index 791c43b..7e721c5 100644 --- a/libjava/posix-threads.cc +++ b/libjava/posix-threads.cc @@ -92,7 +92,7 @@ _Jv_CondWait (_Jv_ConditionVariable_t *cv, _Jv_Mutex_t *mu, r = pthread_cond_timedwait (cv, pmu, &ts); /* A timeout is a normal result. */ - if (r && errno == ETIME) + if (r && errno == ETIMEDOUT) r = 0; } return r; |