From: mquinson Date: Fri, 19 May 2006 09:33:52 +0000 (+0000) Subject: Enable timestamping of messages emitted out of any user process (such as the terminai... X-Git-Tag: v3.3~3110 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/13206972c2b37e1891db900c963e596671da5870 Enable timestamping of messages emitted out of any user process (such as the terminaison message in MSG) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2248 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/log_default_appender.c b/src/xbt/log_default_appender.c index 0126353bc0..44302a095c 100644 --- a/src/xbt/log_default_appender.c +++ b/src/xbt/log_default_appender.c @@ -44,7 +44,7 @@ static const char* xbt_logappender_verbose_information(void) { sprintf(buffer,"%s:%s:(%ld) %f", gras_os_myname(), xbt_procname(),gras_os_getpid(),gras_os_time()-begin_of_time); else - buffer[0]=0; + sprintf(buffer,"%f", gras_os_time()-begin_of_time); return buffer; }