X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5b6ee7ed7f29670ede185d8b777278ca1133becb..23244e6abc0ffce10651b283c8955a63b86fe303:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index adaa919f06..a0897143ee 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -1345,8 +1345,8 @@ static void xbt_log_help_categories_rec(xbt_log_category_t category, this_prefix = bprintf("%s \\_ ", prefix); child_prefix = bprintf("%s | ", prefix); } else { - this_prefix = bprintf("%s", prefix); - child_prefix = bprintf("%s", prefix); + this_prefix = xbt_strdup(prefix); + child_prefix = xbt_strdup(prefix); } dynar = xbt_dynar_new(sizeof(xbt_log_category_t), NULL);