X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/406f54970c00ca178fa918763d943027bd09e3ba..6a6209ae617ba25152ddd80cd3b79d72748d7bd5:/src/msg/msg_process.c diff --git a/src/msg/msg_process.c b/src/msg/msg_process.c index ddce625a76..cf7ce52b6a 100644 --- a/src/msg/msg_process.c +++ b/src/msg/msg_process.c @@ -182,7 +182,7 @@ msg_process_t MSG_process_create_with_environment(const char *name, #endif /* Let's create the process: SIMIX may decide to start it right now, * even before returning the flow control to us */ - simcall_process_create(&process, name, code, simdata, SIMIX_host_get_name(host->smx_host), -1, + simcall_process_create(&process, name, code, simdata, sg_host_name(host), -1, argc, argv, properties,0); if (!process) { @@ -231,7 +231,7 @@ msg_error_t MSG_process_migrate(msg_process_t process, msg_host_t host) msg_host_t now = simdata->m_host; TRACE_msg_process_change_host(process, now, host); #endif - simcall_process_change_host(process, host->smx_host); + simcall_process_change_host(process, host); return MSG_OK; }