better error message

This commit is contained in:
Glenn Maynard
2004-06-06 05:37:25 +00:00
parent 04ed5bf1ed
commit 32893f5b63
+1 -1
View File
@@ -636,7 +636,7 @@ void RageMutexImpl::Unlock()
/* We can't ASSERT here, since this is called from checkpoints, which is
* called from ASSERT. */
if( !ret )
sm_crash();
sm_crash( werr_ssprintf( GetLastError(), "ReleaseMutex failed" ) );
}
bool RageMutexImpl::IsLockedByThisThread() const