[asterisk-commits] tilghman: branch 1.4 r76937 - in /branches/1.4: ./ include/asterisk/lock.h
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 24 17:12:44 CDT 2007
Author: tilghman
Date: Tue Jul 24 17:12:43 2007
New Revision: 76937
URL: http://svn.digium.com/view/asterisk?view=rev&rev=76937
Log:
Merged revisions 76934 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r76934 | tilghman | 2007-07-24 17:11:33 -0500 (Tue, 24 Jul 2007) | 2 lines
Oops, res contains the error code, not errno. I was wondering why a mutex was reporting "No such file or directory"...
........
Modified:
branches/1.4/ (props changed)
branches/1.4/include/asterisk/lock.h
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/include/asterisk/lock.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/lock.h?view=diff&rev=76937&r1=76936&r2=76937
==============================================================================
--- branches/1.4/include/asterisk/lock.h (original)
+++ branches/1.4/include/asterisk/lock.h Tue Jul 24 17:12:43 2007
@@ -273,7 +273,7 @@
}
} else {
__ast_mutex_logger("%s line %d (%s): Error obtaining mutex: %s\n",
- filename, lineno, func, strerror(errno));
+ filename, lineno, func, strerror(res));
DO_THREAD_CRASH;
}
More information about the asterisk-commits
mailing list