Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Missing const marker
[simgrid.git] / src / mc / ModelChecker.cpp
index a715a41b3d48f547715109ec8802c7a78af45906..0f9601f61d87584a7fdc3a10340dbf2c64c43da2 100644 (file)
@@ -290,7 +290,7 @@ void ModelChecker::handle_waitpid()
 #ifdef __linux__
         ptrace(PTRACE_CONT, remote_simulation_->pid(), 0, WSTOPSIG(status));
 #elif defined BSD
-        ptrace(PT_CONTINUE, app_remote_mem_.pid(), (caddr_t)1, WSTOPSIG(status));
+        ptrace(PT_CONTINUE, remote_simulation_->pid(), (caddr_t)1, WSTOPSIG(status));
 #endif
         xbt_assert(errno == 0, "Could not PTRACE_CONT");
       }