X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5ded2071c37dc28669c79ff593159aea355b2538..74a27c3b0fb3a2dc5f6bb22a7a80d7a9d6d9c9ba:/teshsuite/msg/host_on_off/host_on_off_wait.c diff --git a/teshsuite/msg/host_on_off/host_on_off_wait.c b/teshsuite/msg/host_on_off/host_on_off_wait.c index 2cb7cd7b83..0733dcdcf4 100644 --- a/teshsuite/msg/host_on_off/host_on_off_wait.c +++ b/teshsuite/msg/host_on_off/host_on_off_wait.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2014. The SimGrid Team. +/* Copyright (c) 2010-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -23,7 +23,7 @@ int master(int argc, char *argv[]) { xbt_ex_t e; TRY { - msg_host_t jupiter = MSG_get_host_by_name("Jupiter"); + msg_host_t jupiter = MSG_host_by_name("Jupiter"); XBT_INFO("Master waiting"); if(MSG_process_sleep(1)) { XBT_ERROR("Unexpected error while sleeping"); @@ -75,7 +75,6 @@ int main(int argc, char *argv[]) platform_file = argv[1]; application_file = argv[2]; - /* MSG_config("workstation/model","KCCFLN05"); */ { /* Simulation setting */ MSG_create_environment(platform_file); }