From: quasar Date: Fri, 26 Oct 2007 18:58:19 +0000 (+0000) Subject: provide a value for the properties of the child X-Git-Tag: v3.3~915 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b21abac7bb17776cabc3d2b6a01ac12bc2d4153a provide a value for the properties of the child git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4887 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/gras/spawn/spawn_father.c b/examples/gras/spawn/spawn_father.c index 0f012637f8..c8f88acb7f 100644 --- a/examples/gras/spawn/spawn_father.c +++ b/examples/gras/spawn/spawn_father.c @@ -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; - 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 */