]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/mc/replay/random_bug.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Move Frame, ModelChecker, ObjectInformation, Type, Variable in their own files
[simgrid.git] / teshsuite / mc / replay / random_bug.c
index 80bcf410eb4e0c36f6a8a8accc92621eb2020924..fba41c7ef230195536acf63f0b5e981c4c40bb36 100644 (file)
@@ -6,9 +6,12 @@
 
 #include <stdio.h>
 
-#include <msg/msg.h>
+#include <xbt/log.h>
+#include <simgrid/msg.h>
 #include <simgrid/modelchecker.h>
 
+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();
 }