From: Martin Quinson Date: Wed, 6 Jan 2016 20:46:49 +0000 (+0100) Subject: cosmetics in comments and error messages X-Git-Tag: v3_13~1329 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/95f6003dd91bcac6493664491e831de740ebffd3?ds=sidebyside cosmetics in comments and error messages --- diff --git a/src/simgrid/host.cpp b/src/simgrid/host.cpp index 5e1656f9a1..df6a15bf29 100644 --- a/src/simgrid/host.cpp +++ b/src/simgrid/host.cpp @@ -64,9 +64,9 @@ int SIMIX_HOST_LEVEL; int ROUTING_HOST_LEVEL; int USER_HOST_LEVEL; -#include "src/msg/msg_private.h" // MSG_host_priv_free. FIXME: killme -#include "src/simdag/simdag_private.h" // __SD_workstation_destroy. FIXME: killme -#include "src/simix/smx_host_private.h" // SIMIX_host_destroy. FIXME: killme +#include "src/msg/msg_private.h" // MSG_host_priv_free. FIXME: killme by initializing that level in msg when used +#include "src/simdag/simdag_private.h" // __SD_workstation_destroy. FIXME: killme by initializing that level in simdag when used +#include "src/simix/smx_host_private.h" // SIMIX_host_destroy. FIXME: killme by initializing that level in simix when used #include "src/surf/cpu_interface.hpp" #include "src/surf/surf_routing.hpp" diff --git a/src/surf/network_cm02.cpp b/src/surf/network_cm02.cpp index 1858cfdaf1..f0fce7bc86 100644 --- a/src/surf/network_cm02.cpp +++ b/src/surf/network_cm02.cpp @@ -352,7 +352,7 @@ Action *NetworkCm02Model::communicate(NetCard *src, NetCard *dst, routing_platf->getRouteAndLatency(src, dst, &route, &latency); xbt_assert(!xbt_dynar_is_empty(route) || latency, - "You're trying to send data from %s to %s but there is no connection at all between these two hosts.", + "You're trying to send data from %s to %s but there is no connecting path between these two hosts.", src->getName(), dst->getName()); xbt_dynar_foreach(route, i, _link) {