diff options
Diffstat (limited to 'mysys/thr_rwlock.c')
-rw-r--r-- | mysys/thr_rwlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/thr_rwlock.c b/mysys/thr_rwlock.c index ba5fe86f1d7..ecd12849822 100644 --- a/mysys/thr_rwlock.c +++ b/mysys/thr_rwlock.c @@ -127,7 +127,7 @@ int my_rw_wrlock(my_rw_lock_t *rwp) pthread_mutex_lock(&rwp->lock); rwp->waiters++; /* another writer queued */ - my_rw_lock_assert_not_owner(rwp); + my_rw_lock_assert_not_write_owner(rwp); while (rwp->state) pthread_cond_wait(&rwp->writers, &rwp->lock); |