X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6b76ba4acd263f00d310287d7f891abfcda1c2f9..a23283368258c196be2e66730a7d691f313ef315:/teshsuite/mc/replay/random_bug.c diff --git a/teshsuite/mc/replay/random_bug.c b/teshsuite/mc/replay/random_bug.c index 80bcf410eb..fac0e25857 100644 --- a/teshsuite/mc/replay/random_bug.c +++ b/teshsuite/mc/replay/random_bug.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2014. The SimGrid Team. +/* Copyright (c) 2014-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -6,9 +6,12 @@ #include -#include +#include +#include #include +XBT_LOG_NEW_DEFAULT_CATEGORY(random_bug, "Application"); + /** An (fake) application with a bug occuring for some random values */ static int app(int argc, char *argv[]) @@ -33,5 +36,5 @@ int main(int argc, char *argv[]) MSG_function_register("app", &app); MSG_create_environment(argv[1]); MSG_launch_application(argv[2]); - return (int) MSG_main(); + return MSG_main(); }