Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Enable timestamping of messages emitted out of any user process (such as the terminai...
[simgrid.git] / src / xbt / log_default_appender.c
index 0126353..44302a0 100644 (file)
@@ -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;
 }