diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-08 03:54:04 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-08 03:54:04 +0000 |
commit | 2251dd3723c7fa8d9e7b43e485b3805932cec5c2 (patch) | |
tree | b112789e910b4ec568a1571c06c721012a9b4c66 /include | |
parent | eb24670aff2fd681084b6aef378ae7d45db33515 (diff) |
issue #5570
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/lock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index edc112698..9c2df3487 100755 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -235,7 +235,8 @@ static inline int __ast_pthread_mutex_lock(const char *filename, int lineno, con __ast_mutex_logger("%s line %d (%s): Deadlock? waited %d sec for mutex '%s'?\n", filename, lineno, func, (int)(current - seconds), mutex_name); __ast_mutex_logger("%s line %d (%s): '%s' was locked here.\n", - t->file, t->lineno, t->func, mutex_name); + t->file[t->reentrancy-1], t->lineno[t->reentrancy-1], + t->func[t->reentrancy-1], mutex_name); } usleep(200); } |