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
Make xbt_die use the root log category.
[simgrid.git]
/
include
/
xbt
/
sysdep.h
diff --git
a/include/xbt/sysdep.h
b/include/xbt/sysdep.h
index 969e0b84f30856f12ac6ec6e0bd483315f461fe8..63a4bbce110eba40a65fdba0381a553e989817d3 100644
(file)
--- a/
include/xbt/sysdep.h
+++ b/
include/xbt/sysdep.h
@@
-40,10
+40,10
@@
XBT_ATTRIB_NORETURN XBT_PUBLIC void xbt_abort(void);
*
* The message is handled by a CRITICAL logging request, and may consist of a format string with arguments.
*/
*
* The message is handled by a CRITICAL logging request, and may consist of a format string with arguments.
*/
-#define xbt_die(...) \
- do { \
- XBT_CCRITICAL(
xbt, __VA_ARGS__);
\
- xbt_abort(); \
+#define xbt_die(...)
\
+ do {
\
+ XBT_CCRITICAL(
root, __VA_ARGS__);
\
+ xbt_abort();
\
} while (0)
/** @} */
} while (0)
/** @} */