From 51f4c718af9ea4756162527ed8f1a26d6db38bd1 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 14 Nov 2011 11:23:25 +0100 Subject: [PATCH] Use xbt_lib_length instead of xbt_lib_size. --- teshsuite/simdag/platforms/is_router_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teshsuite/simdag/platforms/is_router_test.c b/teshsuite/simdag/platforms/is_router_test.c index 443d6e3808..d9dcd421ae 100644 --- a/teshsuite/simdag/platforms/is_router_test.c +++ b/teshsuite/simdag/platforms/is_router_test.c @@ -22,7 +22,7 @@ int main(int argc, char **argv) /* creation of the environment */ SD_create_environment(argv[1]); - size = xbt_lib_size(host_lib) + xbt_lib_size(as_router_lib); + size = xbt_lib_length(host_lib) + xbt_lib_length(as_router_lib); printf("Workstation number: %d, link number: %d, elmts number: %d\n", SD_workstation_get_number(), SD_link_get_number(), size); -- 2.20.1