X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6ee7e9c2e455536ab817ae0136acfbb53822eecd..b7c4bc5f93d019ff38ca6f6b52b627a98d4fe23d:/testsuite/surf/surf_usage2.c diff --git a/testsuite/surf/surf_usage2.c b/testsuite/surf/surf_usage2.c index 7c308ad92b..5c10de061c 100644 --- a/testsuite/surf/surf_usage2.c +++ b/testsuite/surf/surf_usage2.c @@ -62,9 +62,9 @@ void test(char *platform) /*********************** WORKSTATION ***********************************/ workstationA = - surf_model_resource_by_name(surf_workstation_model, "Cpu A"); + surf_workstation_resource_by_name("Cpu A"); workstationB = - surf_model_resource_by_name(surf_workstation_model, "Cpu B"); + surf_workstation_resource_by_name("Cpu B"); /* Let's check that those two processors exist */ XBT_DEBUG("%s : %p", surf_resource_name(workstationA), workstationA);