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


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to