X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cc01c6a871dbbfd0cc84e26eb9f94aeb539e613e..1fb08bfd88ea0a1e8b4c1ec2b0ec4519126b6c51:/examples/msg/mc/random_test.c diff --git a/examples/msg/mc/random_test.c b/examples/msg/mc/random_test.c index b5039c75f8..8814bdfcb8 100644 --- a/examples/msg/mc/random_test.c +++ b/examples/msg/mc/random_test.c @@ -1,5 +1,5 @@ #include -#include +#include XBT_LOG_NEW_DEFAULT_CATEGORY(random_test, "Random Test"); @@ -9,14 +9,14 @@ int server(int argc, char *argv[]) { int val; val = MC_random(3, 6); - INFO1("val=%d", val); - INFO0("OK"); + XBT_INFO("val=%d", val); + XBT_INFO("OK"); return 0; } int main(int argc, char *argv[]) { - MSG_global_init(&argc, argv); + MSG_init(&argc, argv); MSG_create_environment("platform.xml");