X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f06041cf2c450457a0b47a49b66b19cb9133c18e..483e903a02a5c78a73597aabc0fc4eb517f84558:/examples/simdag/io/sd_io.c diff --git a/examples/simdag/io/sd_io.c b/examples/simdag/io/sd_io.c index d1f12214f6..5dc9a57578 100644 --- a/examples/simdag/io/sd_io.c +++ b/examples/simdag/io/sd_io.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2014. The SimGrid Team. +/* Copyright (c) 2013-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -26,10 +26,10 @@ int main(int argc, char **argv) /* Set the workstation model to default, as storage is not supported by the * ptask_L07 model yet. */ - SD_config("workstation/model", "default"); + SD_config("host/model", "default"); SD_create_environment(argv[1]); workstations = SD_workstation_get_list(); - total_nworkstations = SD_workstation_get_number(); + total_nworkstations = SD_workstation_get_count(); for (ctr=0; ctr