Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Do not use strerror(), not thread-safe
[simgrid.git] / src / mc / mc_global.c
index bf677ae9ca12513d5516d8bd711e87274deb40b4..985dba9e2e4b301997e01f45442587461d7e4ab2 100644 (file)
@@ -318,7 +318,7 @@ int MC_deadlock_check()
     int res;
     if ((res = MC_protocol_send_simple_message(mc_model_checker->process.socket,
       MC_MESSAGE_DEADLOCK_CHECK)))
-      xbt_die("Could not check deadlock state: %s",strerror(res));
+      xbt_die("Could not check deadlock state");
     s_mc_int_message_t message;
     ssize_t s = MC_receive_message(mc_model_checker->process.socket, &message, sizeof(message));
     if (s == -1)