Verify, not Assert, for the (util) global mutex
[openafs.git] / src / util / pthread_glock.h
index 1fe464b..e323e3f 100644 (file)
@@ -35,10 +35,10 @@ extern int pthread_recursive_mutex_lock(pthread_recursive_mutex_p);
 extern int pthread_recursive_mutex_unlock(pthread_recursive_mutex_p);
 
 #define LOCK_GLOBAL_MUTEX \
-    opr_Assert(pthread_recursive_mutex_lock(&grmutex)==0)
+    opr_Verify(pthread_recursive_mutex_lock(&grmutex)==0)
 
 #define UNLOCK_GLOBAL_MUTEX \
-    opr_Assert(pthread_recursive_mutex_unlock(&grmutex)==0)
+    opr_Verify(pthread_recursive_mutex_unlock(&grmutex)==0)
 
 #else