diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index abd91fb30..2a2ec9b17 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -422,7 +422,7 @@ static inline int __ast_pthread_mutex_trylock(const char *filename, int lineno, if (t->track) ast_mark_lock_acquired(); } else if (t->track) { - ast_remove_lock_info(&t->mutex); + ast_mark_lock_failed(); } return res; |