X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8a762701a2cdddc596e3dcfa65c8aae010c97599..a2a1aee909cfa9076f9dbe34778140af74dfebd3:/src/xbt/xbt_log_layout_simple.c diff --git a/src/xbt/xbt_log_layout_simple.c b/src/xbt/xbt_log_layout_simple.c index f13017db4b..5933bf9ab0 100644 --- a/src/xbt/xbt_log_layout_simple.c +++ b/src/xbt/xbt_log_layout_simple.c @@ -35,8 +35,8 @@ static char *xbt_log_layout_simple_doit(xbt_log_layout_t l, p += sprintf(res,"[");; /* Display the proc info if available */ if(strlen(xbt_procname())) - p += sprintf(p,"%s:%s:(%ld) ", - gras_os_myname(), xbt_procname(),gras_os_getpid()); + p += sprintf(p,"%s:%s:(%d) ", + gras_os_myname(), xbt_procname(),(*xbt_getpid)()); /* Display the date */ p += sprintf(p,"%f] ", gras_os_time()-begin_of_time);