X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1a39cc6fdc908c33507b5b0f8bae61f7286fd4ca..1189d1797cc934d847d6641d809bbe060729f064:/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 e56adc8e6f..f6a09be31c 100644 --- 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_assert0(ev->priority >= 0, + xbt_assert(ev->priority >= 0, "Negative logging priority naturally forbidden"); - xbt_assert1(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);