X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c91b68ade95e42efb7a24f19fb5228bee0b618d0..187ba0c05f9fbe51175179b9f637b6554f947468:/src/surf/surf.c diff --git a/src/surf/surf.c b/src/surf/surf.c index fc1e385857..df3087e1a1 100644 --- a/src/surf/surf.c +++ b/src/surf/surf.c @@ -413,8 +413,13 @@ void sg_version(int *ver_major,int *ver_minor,int *ver_patch) { xbt_dynar_t sg_cmdline = NULL; +extern char *xbt_os_procname_data; + + void surf_init(int *argc, char **argv) { + xbt_os_procname_data = argv[0]; + XBT_DEBUG("Create all Libs"); host_lib = xbt_lib_new(); link_lib = xbt_lib_new();