diff options
-rw-r--r-- | lib/libkse/thread/thr_cond.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_cond.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkse/thread/thr_cond.c b/lib/libkse/thread/thr_cond.c index 8cb8a53..a1df0bd 100644 --- a/lib/libkse/thread/thr_cond.c +++ b/lib/libkse/thread/thr_cond.c @@ -116,7 +116,7 @@ _pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *cond_attr) * structure: */ TAILQ_INIT(&pcond->c_queue); - pcond->c_flags |= COND_FLAGS_INITED; + pcond->c_flags = COND_FLAGS_INITED; pcond->c_type = type; pcond->c_mutex = NULL; pcond->c_seqno = 0; diff --git a/lib/libpthread/thread/thr_cond.c b/lib/libpthread/thread/thr_cond.c index 8cb8a53..a1df0bd 100644 --- a/lib/libpthread/thread/thr_cond.c +++ b/lib/libpthread/thread/thr_cond.c @@ -116,7 +116,7 @@ _pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *cond_attr) * structure: */ TAILQ_INIT(&pcond->c_queue); - pcond->c_flags |= COND_FLAGS_INITED; + pcond->c_flags = COND_FLAGS_INITED; pcond->c_type = type; pcond->c_mutex = NULL; pcond->c_seqno = 0; |