Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
provide a value for the properties of the child
authorquasar <quasar@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Oct 2007 18:58:19 +0000 (18:58 +0000)
committerquasar <quasar@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Oct 2007 18:58:19 +0000 (18:58 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4887 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/gras/spawn/spawn_father.c

index 0f01263..c8f88ac 100644 (file)
@@ -86,7 +86,7 @@ int father (int argc,char *argv[]) {
      child_args[0] = xbt_strdup("child");
      child_args[1] = bprintf("%d",port);
      child_args[2] = NULL;
      child_args[0] = xbt_strdup("child");
      child_args[1] = bprintf("%d",port);
      child_args[2] = NULL;
-     gras_agent_spawn("child",NULL,child,2,child_args);
+     gras_agent_spawn("child",NULL,child,2,child_args,NULL);
   }
      
   /* 7. Wait to be contacted be the kids */
   }
      
   /* 7. Wait to be contacted be the kids */