[svn-commits] tilghman: branch 1.2 r76934 - /branches/1.2/include/asterisk/lock.h
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Jul 24 17:11:33 CDT 2007
Author: tilghman
Date: Tue Jul 24 17:11:33 2007
New Revision: 76934
URL: http://svn.digium.com/view/asterisk?view=rev&rev=76934
Log:
Oops, res contains the error code, not errno. I was wondering why a mutex was reporting "No such file or directory"...
Modified:
branches/1.2/include/asterisk/lock.h
Modified: branches/1.2/include/asterisk/lock.h
URL: http://svn.digium.com/view/asterisk/branches/1.2/include/asterisk/lock.h?view=diff&rev=76934&r1=76933&r2=76934
==============================================================================
--- branches/1.2/include/asterisk/lock.h (original)
+++ branches/1.2/include/asterisk/lock.h Tue Jul 24 17:11:33 2007
@@ -268,7 +268,7 @@
}
} else {
__ast_mutex_logger("%s line %d (%s): Error obtaining mutex: %s\n",
- filename, lineno, func, strerror(errno));
+ filename, lineno, func, strerror(res));
#ifdef THREAD_CRASH
DO_THREAD_CRASH;
#endif
More information about the svn-commits
mailing list