X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/226d3997c4e356a1935b7d51b310034b4833afb9..6de9090dd8692387ae343c587b26915f9922d7bd:/examples/msg/tracing/user_variables.c diff --git a/examples/msg/tracing/user_variables.c b/examples/msg/tracing/user_variables.c index ea2b959bed..6c63b9d20f 100644 --- a/examples/msg/tracing/user_variables.c +++ b/examples/msg/tracing/user_variables.c @@ -27,7 +27,7 @@ int master(int argc, char *argv[]); int master(int argc, char *argv[]) { - char *hostname = MSG_host_self()->name; + const char *hostname = MSG_host_get_name(MSG_host_self()); int i; //the hostname has an empty HDD with a capacity of 100000 (bytes)