Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a little bug
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 24 Jul 2004 20:17:28 +0000 (20:17 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 24 Jul 2004 20:17:28 +0000 (20:17 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@337 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/log.c

index 182f1fa..8e290e9 100644 (file)
@@ -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);
   }