A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some bugfixes:
[simgrid.git]
/
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
ddb77e9
..
e56adc8
100644
(file)
--- a/
src/xbt/xbt_log_layout_simple.c
+++ b/
src/xbt/xbt_log_layout_simple.c
@@
-46,8
+46,7
@@
static void xbt_log_layout_simple_dynamic(xbt_log_layout_t l,
xbt_strbuff_append(buff, loc_buff);
- if (vasprintf(&p, fmt, ev->ap_copy) == -1)
- xbt_die("vasprintf failed");
+ p = bvprintf(fmt, ev->ap_copy);
xbt_strbuff_append(buff, p);
free(p);