From: mquinson Date: Sat, 24 Jul 2004 20:17:28 +0000 (+0000) Subject: Fix a little bug X-Git-Tag: v3.3~5011 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/91225594356c775dd384e44f5b5008cb3d9b7219 Fix a little bug git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@337 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/log.c b/src/xbt/log.c index 182f1fa522..8e290e9f64 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -77,17 +77,19 @@ static void _apply_control(gras_log_category_t* cat) { if (cat->threshold <= gras_log_priority_verbose) { gras_log_event_t _log_ev = {cat,gras_log_priority_verbose,__FILE__,__FUNCTION__,__LINE__}; - _gras_log_event_log(&_log_ev, cat->name, - "Apply settings for category '%s': set threshold to %s (=%d)", - gras_log_priority_names[cat->threshold], cat->threshold); + _gras_log_event_log(&_log_ev, + "Apply settings for category '%s': set threshold to %s (=%d)", + cat->name, + gras_log_priority_names[cat->threshold], cat->threshold); } } } if (!found && cat->threshold <= gras_log_priority_verbose) { gras_log_event_t _log_ev = {cat,gras_log_priority_verbose,__FILE__,__FUNCTION__,__LINE__}; - _gras_log_event_log(&_log_ev, cat->name, + _gras_log_event_log(&_log_ev, "Category '%s': inherited threshold = %s (=%d)", + cat->name, gras_log_priority_names[cat->threshold], cat->threshold); }