Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Put stdout in line buffer mode for MCed apps.
[simgrid.git] / examples / smpi / mc / bugged1_liveness.c
index 6d5d0aa51e064f58cb5b703e4a9e7b02e8e60e64..72011c452eb58933ea5863ce1e1d6108a1605445 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2020. The SimGrid Team.
+/* Copyright (c) 2013-2021. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -47,7 +47,7 @@ int main(int argc, char **argv){
   MC_automaton_new_propositional_symbol_pointer("r", &r);
   MC_automaton_new_propositional_symbol_pointer("cs", &cs);
 
-  MC_ignore(&(status.count), sizeof(status.count));
+  MC_ignore(&status.count, sizeof status.count);
 
   /* Get number of processes */
   MPI_Comm_size(MPI_COMM_WORLD, &size);