X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0672b1000bacd57037a1138e90553af71b50a53..d90edfc166207c7c7372bfd4f58c6392b8fd4eef:/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)