]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/xbt_log_layout_simple.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move a bit of code into the platform-dependent files (to allow their upcoming cleanup)
[simgrid.git] / src / xbt / xbt_log_layout_simple.c
index 0ae848048e4adf094d8d1687b0b3b8d90f558577..ecfcf901ddfa9be0192a378d7fd919834286e30b 100644 (file)
@@ -42,7 +42,7 @@ static void xbt_log_layout_simple_dynamic(xbt_log_layout_t l,
    
    xbt_strbuff_append(buff,ev->buffer);
 
-   vasprintf(&p,fmt,ev->ap);
+   vasprintf(&p,fmt,ev->ap_copy);
    xbt_strbuff_append(buff,p);
    free(p);