aboutsummaryrefslogtreecommitdiff
path: root/pthreads/tests/mutex7.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthreads/tests/mutex7.c')
-rw-r--r--pthreads/tests/mutex7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthreads/tests/mutex7.c b/pthreads/tests/mutex7.c
index 8772b9712..4137c351d 100644
--- a/pthreads/tests/mutex7.c
+++ b/pthreads/tests/mutex7.c
@@ -57,7 +57,7 @@ void * locker(void * arg)
assert(pthread_mutex_trylock(&mutex) == EBUSY);
lockCount++;
assert(pthread_mutex_unlock(&mutex) == 0);
- assert(pthread_mutex_unlock(&mutex) == EPERM);
+ assert(pthread_mutex_unlock(&mutex) == 0);
return 0;
}