From 32893f5b632abd29312812299ebefa2445f1897e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 6 Jun 2004 05:37:25 +0000 Subject: [PATCH] better error message --- stepmania/src/RageThreads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageThreads.cpp b/stepmania/src/RageThreads.cpp index a8640b8224..cf95945069 100644 --- a/stepmania/src/RageThreads.cpp +++ b/stepmania/src/RageThreads.cpp @@ -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