Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : remove binary name as argument of some functions, available with...
[simgrid.git] / examples / msg / mc / bugged1_while_liveness.c
index 95b6e5b..1e56dad 100644 (file)
@@ -85,7 +85,7 @@ int client(int argc, char *argv[])
     if(strcmp(my_mailbox, "1") == 0){
       r = 1;
       cs = 0;
-      XBT_DEBUG("Propositions changed : r=1, cs=0");
+      XBT_INFO("Propositions changed : r=1, cs=0");
     }
 
     // wait the answer
@@ -96,7 +96,7 @@ int client(int argc, char *argv[])
     if((strcmp(my_mailbox, "1") == 0) && (strcmp("grant", kind) == 0)){
       cs = 1;
       r = 0;
-      XBT_DEBUG("Propositions changed : r=0, cs=1");
+      XBT_INFO("Propositions changed : r=0, cs=1");
     }
 
 
@@ -110,7 +110,7 @@ int client(int argc, char *argv[])
     if(strcmp(my_mailbox, "1") == 0){
       cs=0;
       r=0;
-      XBT_DEBUG("Propositions changed : r=0, cs=0");
+      XBT_INFO("Propositions changed : r=0, cs=0");
     }
     
   }
@@ -131,7 +131,7 @@ int main(int argc, char *argv[])
   MSG_function_register("coordinator", coordinator);
   MSG_function_register("client", client);
   MSG_launch_application("deploy_bugged1_liveness.xml");
-  MSG_main_liveness(automaton, argv[0]);
+  MSG_main_liveness(automaton);
 
   return 0;
 }