[Lldb-commits] [lldb] r149140 - /lldb/trunk/source/Host/common/Mutex.cpp

Johnny Chen johnny.chen at apple.com
Fri Jan 27 10:53:22 PST 2012


Author: johnny
Date: Fri Jan 27 12:53:22 2012
New Revision: 149140

URL: http://llvm.org/viewvc/llvm-project?rev=149140&view=rev
Log:
Fix typo.

Modified:
    lldb/trunk/source/Host/common/Mutex.cpp

Modified: lldb/trunk/source/Host/common/Mutex.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Mutex.cpp?rev=149140&r1=149139&r2=149140&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Mutex.cpp (original)
+++ lldb/trunk/source/Host/common/Mutex.cpp Fri Jan 27 12:53:22 2012
@@ -213,7 +213,7 @@
 #if ENABLE_MUTEX_ERROR_CHECKING
     if (err)
     {
-        Host::SetCrashDescriptionWithFormat ("%s error: pthread_mutex_destroy(%p) => err = %i (%s)", __PRETTY_FUNCTION__, mutex_ptr, err, strerror(err));
+        Host::SetCrashDescriptionWithFormat ("%s error: pthread_mutex_lock(%p) => err = %i (%s)", __PRETTY_FUNCTION__, mutex_ptr, err, strerror(err));
         assert(err == 0);
     }
 #endif





More information about the lldb-commits mailing list