X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d2c2569a6b3d6a0a4ff772359351d0fdfa53551b..f540320e2e4fd4fe5c9cb1bf8a4b1c0a972082e6:/src/mc/Session.cpp diff --git a/src/mc/Session.cpp b/src/mc/Session.cpp index ff6cef6481..260edd47eb 100644 --- a/src/mc/Session.cpp +++ b/src/mc/Session.cpp @@ -165,10 +165,10 @@ Session* Session::spawnv(const char *path, char *const argv[]) } // static -Session* Session::spawnvp(const char *path, char *const argv[]) +Session* Session::spawnvp(const char *file, char *const argv[]) { return Session::fork([&] { - execvp(path, argv); + execvp(file, argv); }); }