Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Do not use strerror(), not thread-safe
[simgrid.git] / src / mc / mc_server.cpp
index 12ca0a8..39b15da 100644 (file)
@@ -302,7 +302,7 @@ void s_mc_server::handle_waitpid()
         else
           break;
       } else {
-        XBT_ERROR("Could not wait for pid: %s", strerror(errno));
+        XBT_ERROR("Could not wait for pid");
         throw std::system_error(errno, std::system_category());
       }
     }