X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f5e8daaa6e9f74521068aa75837200bcd182ea6..27d566aff751aa91bc650bf1ea2f92d7cd5a7d52:/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 030a17b55f..e56adc8e6f 100644 --- a/src/xbt/xbt_log_layout_simple.c +++ b/src/xbt/xbt_log_layout_simple.c @@ -46,7 +46,7 @@ static void xbt_log_layout_simple_dynamic(xbt_log_layout_t l, xbt_strbuff_append(buff, loc_buff); - vasprintf(&p, fmt, ev->ap_copy); + p = bvprintf(fmt, ev->ap_copy); xbt_strbuff_append(buff, p); free(p);