Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix java builds
[simgrid.git] / src / simix / smx_synchro.cpp
index cde0af9..0db61fd 100644 (file)
@@ -168,7 +168,7 @@ void Mutex::unlock(smx_process_t issuer)
   /* If the mutex is not owned by the issuer, that's not good */
   if (issuer != this->owner)
     THROWF(mismatch_error, 0, "Cannot release that mutex: it was locked by %s (pid:%d), not by you.",
-        SIMIX_process_get_name(this->owner),SIMIX_process_get_PID(this->owner));
+        this->owner->name.c_str(),SIMIX_process_get_PID(this->owner));
 
   if (xbt_swag_size(this->sleeping) > 0) {
     /*process to wake up */