projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91a7ca8
)
Change trylock output for what already has the lock from an error to a warning.
author
Joshua Colp
<jcolp@digium.com>
Mon, 8 Jan 2007 18:26:50 +0000
(18:26 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Mon, 8 Jan 2007 18:26:50 +0000
(18:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50034
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
include/asterisk/lock.h
patch
|
blob
|
history
diff --git
a/include/asterisk/lock.h
b/include/asterisk/lock.h
index
ca6663a
..
d326b61
100644
(file)
--- a/
include/asterisk/lock.h
+++ b/
include/asterisk/lock.h
@@
-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);
}