]> AND Public Git Repository - simgrid.git/blobdiff - src/simix/smx_smurf.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
oops, forgot to perform the actual change of path in 3854ce9a5 .
[simgrid.git] / src / simix / smx_smurf.c
index 77623e70ee4d54b7ad7d1814edf2e218ac2ac0de..515446b43edd4b89f026c642efa3d73780607962 100644 (file)
@@ -56,14 +56,14 @@ void SIMIX_simcall_answer(smx_simcall_t simcall)
 void SIMIX_simcall_pre(smx_simcall_t simcall, int value)
 {
   XBT_DEBUG("Handling simcall %p: %s", simcall, SIMIX_simcall_name(simcall->call));
-  simcall->mc_value = value;
+  SIMCALL_SET_MC_VALUE(simcall, value);
   if (simcall->issuer->context->iwannadie && simcall->call != SIMCALL_PROCESS_CLEANUP)
     return;
   switch (simcall->call) {
 #include "simcalls_generated_case.c"
-    case NUM_SIMCALLS:;
+    case NUM_SIMCALLS:
       break;
-    case SIMCALL_NONE:;
+    case SIMCALL_NONE:
       THROWF(arg_error,0,"Asked to do the noop syscall on %s@%s",
           SIMIX_process_get_name(simcall->issuer),
           SIMIX_host_get_name(SIMIX_process_get_host(simcall->issuer))