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
Do not run an empty process list.
[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
e56adc8
..
f6a09be
100644
(file)
--- a/
src/xbt/xbt_log_layout_simple.c
+++ b/
src/xbt/xbt_log_layout_simple.c
@@
-71,9
+71,9
@@
static void xbt_log_layout_simple_doit(xbt_log_layout_t l,
{
char *p;
const char *procname = NULL;
- xbt_assert
0
(ev->priority >= 0,
+ xbt_assert(ev->priority >= 0,
"Negative logging priority naturally forbidden");
- xbt_assert
1
(ev->priority < sizeof(xbt_log_priority_names),
+ xbt_assert(ev->priority < sizeof(xbt_log_priority_names),
"Priority %d is greater than the biggest allowed value",
ev->priority);