Change trylock output for what already has the lock from an error to a warning.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp 2007-01-08 18:26:50 +00:00
parent 91a7ca8df7
commit 3e0d0362e8
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ static inline int __ast_pthread_mutex_trylock(const char *filename, int lineno,
filename, lineno, func, mutex_name);
}
} else {
__ast_mutex_logger("%s line %d (%s): Error: '%s' was locked here.\n",
__ast_mutex_logger("%s line %d (%s): Warning: '%s' was locked here.\n",
t->file[t->reentrancy-1], t->lineno[t->reentrancy-1], t->func[t->reentrancy-1], mutex_name);
}