projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added doxygen comments
[libfirm]
/
ir
/
common
/
debug.c
diff --git
a/ir/common/debug.c
b/ir/common/debug.c
index
6227443
..
6dd5d6d
100644
(file)
--- a/
ir/common/debug.c
+++ b/
ir/common/debug.c
@@
-80,6
+80,8
@@
static void *make_msg_info(const firm_dbg_module_t *mod, const char *fmt, va_lis
obstack_grow(&dbg_obst, msg_header, sizeof(msg_header) - 1);
ir_obst_vprintf(&dbg_obst, fmt, args);
+ obstack_1grow(&dbg_obst, '\0');
+
res->msg = obstack_finish(&dbg_obst);
res->mod = mod;
return res;