aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-08 03:54:04 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-08 03:54:04 +0000
commitc71e69de080c96387a03c51859c13e4a97a5449f (patch)
treeb112789e910b4ec568a1571c06c721012a9b4c66 /include
parent291f96ced4ff5396cb7513fb66e1de21da74a378 (diff)
issue #5570
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7022 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/lock.h3
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);
}