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
Use MSG_host_by_name() instead of MSG_get_host_by_name()
[simgrid.git]
/
examples
/
msg
/
masterslave
/
masterslave_platfgen.c
diff --git
a/examples/msg/masterslave/masterslave_platfgen.c
b/examples/msg/masterslave/masterslave_platfgen.c
index
134fae7
..
ef94493
100644
(file)
--- a/
examples/msg/masterslave/masterslave_platfgen.c
+++ b/
examples/msg/masterslave/masterslave_platfgen.c
@@
-79,7
+79,7
@@
int master(int argc, char *argv[])
slaves = xbt_new0(msg_host_t, slaves_count);
for (i = 0; i < argc; i++) {
- slaves[i] = MSG_
get_
host_by_name(argv[i]);
+ slaves[i] = MSG_host_by_name(argv[i]);
if (slaves[i] == NULL) {
XBT_INFO("Unknown host %s. Stopping Now! ", argv[i]);
abort();