Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix getopt for BSD systems
[simgrid.git] / src / smpi / include / smpi_actor.hpp
index 264507b..97d4d2b 100644 (file)
@@ -31,7 +31,7 @@ class ActorExt {
   smpi_trace_call_location_t trace_call_loc_;
   s4u::ActorPtr actor_                           = nullptr;
   smpi_privatization_region_t privatized_region_ = nullptr;
   smpi_trace_call_location_t trace_call_loc_;
   s4u::ActorPtr actor_                           = nullptr;
   smpi_privatization_region_t privatized_region_ = nullptr;
-  int optind                                     = 0; /*for getopt replacement */
+  int optind                                     = 1; /*for getopt replacement */
   std::string tracing_category_                  = "";
 
 #if HAVE_PAPI
   std::string tracing_category_                  = "";
 
 #if HAVE_PAPI