[Asterisk-cvs] asterisk/include/asterisk lock.h,1.25,1.26
citats at lists.digium.com
citats at lists.digium.com
Wed Oct 20 01:40:50 CDT 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv10481/include/asterisk
Modified Files:
lock.h
Log Message:
Fix typo and missing format string in a fprintf in lock.h
Index: lock.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/lock.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- lock.h 17 Oct 2004 22:13:05 -0000 1.25
+++ lock.h 20 Oct 2004 05:45:09 -0000 1.26
@@ -266,11 +266,11 @@
#endif
--t->reentrancy;
if (t->reentrancy < 0) {
- fprintf(stderr, "%s line %d (%s): Freed more times than we've locked!\n",
+ fprintf(stderr, "%s line %d (%s): mutex '%s' freed more times than we've locked!\n",
filename, lineno, func, mutex_name);
t->reentrancy = 0;
}
- if (!t->rentrancy) {
+ if (!t->reentrancy) {
t->file = NULL;
t->lineno = 0;
t->func = NULL;
More information about the svn-commits
mailing list