X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/40334ce6fe520b2fa7d1e240716e4f34a5fdc74e..4a6b0a991a67e6f2f67c03fed43529e078da7115:/src/mc/mc_unw_vmread.cpp diff --git a/src/mc/mc_unw_vmread.cpp b/src/mc/mc_unw_vmread.cpp index fa1c2d2aa1..45e767b592 100644 --- a/src/mc/mc_unw_vmread.cpp +++ b/src/mc/mc_unw_vmread.cpp @@ -10,7 +10,7 @@ #include #include -#include "mc_unw.h" +#include "src/mc/mc_unw.h" extern "C" { @@ -74,7 +74,7 @@ static int access_mem(const unw_addr_space_t as, size_t count = size; off_t off = (off_t) addr; char* buf = (char*) valp; - int fd = MC_process_vm_open(pid, O_RDONLY); + int fd = simgrid::mc::open_vm(pid, O_RDONLY); if (fd < 0) return - UNW_EINVAL; while (1) {