X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45d00a93682182156762f2ca97b1f2746746c8b1..5a9c845da2c148a5e6319c698b0e539ee3351164:/src/simix/smx_vm.cpp diff --git a/src/simix/smx_vm.cpp b/src/simix/smx_vm.cpp index ae5fdbd923..e74974f444 100644 --- a/src/simix/smx_vm.cpp +++ b/src/simix/smx_vm.cpp @@ -358,19 +358,19 @@ void simcall_HANDLER_vm_shutdown(smx_simcall_t simcall, sg_host_t ind_vm) /** * \brief Function to destroy a SIMIX VM host. * - * \param host the vm host to destroy (a sg_host_t) + * \param vm the vm host to destroy (a sg_host_t) */ -void SIMIX_vm_destroy(sg_host_t ind_vm) +void SIMIX_vm_destroy(sg_host_t vm) { /* this code basically performs a similar thing like SIMIX_host_destroy() */ - const char *hostname = sg_host_get_name(ind_vm); + const char *hostname = sg_host_get_name(vm); XBT_DEBUG("destroy %s", hostname); /* this will call the registered callback function, i.e., SIMIX_host_destroy(). */ - sg_host_simix_destroy(ind_vm); + sg_host_simix_destroy(vm); /* jump to vm_ws_destroy(). The surf level resource will be freed. */ - surf_vm_destroy(ind_vm); + surf_vm_destroy(vm); }