A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the public field msg_host_t->name. Use MSG_host_get_name()
[simgrid.git]
/
examples
/
msg
/
tracing
/
user_variables.c
diff --git
a/examples/msg/tracing/user_variables.c
b/examples/msg/tracing/user_variables.c
index
ea2b959
..
6c63b9d
100644
(file)
--- 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[])
{
- c
har *hostname = MSG_host_self()->name
;
+ c
onst char *hostname = MSG_host_get_name(MSG_host_self())
;
int i;
//the hostname has an empty HDD with a capacity of 100000 (bytes)