Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make SIMIX_simcall_name() use the type of observer_ if it exists.
[simgrid.git] / src / simix / popping_bodies.cpp
index 1bcba0a..6948f46 100644 (file)
@@ -32,8 +32,7 @@ inline static R simcall(Simcall call, T const&... t)
   smx_actor_t self = SIMIX_process_self();
   simgrid::simix::marshal(&self->simcall_, call, t...);
   if (self != simix_global->maestro_) {
-    XBT_DEBUG("Yield process '%s' on simcall %s (%d)", self->get_cname(), SIMIX_simcall_name(self->simcall_.call_),
-              (int)self->simcall_.call_);
+    XBT_DEBUG("Yield process '%s' on simcall %s", self->get_cname(), SIMIX_simcall_name(self->simcall_));
     self->yield();
   } else {
     self->simcall_handle(0);