Whamcloud - gitweb
Branch HEAD
authoradilger <adilger>
Tue, 21 Jul 2009 17:15:20 +0000 (17:15 +0000)
committeradilger <adilger>
Tue, 21 Jul 2009 17:15:20 +0000 (17:15 +0000)
Fix error message to reflect reality of 3 watchdogs per time period.

libcfs/libcfs/watchdog.c

index e3fd951..565c71c 100644 (file)
@@ -160,7 +160,7 @@ static void lcw_cb(ulong_ptr_t data)
         if (delta_time < libcfs_watchdog_ratelimit &&
             lcw_recent_watchdog_count > 3) {
                 CWARN("Refusing to fire watchdog for pid %d: it was inactive "
-                      "for %lu.%.02lus. Rate limiting 1 per %d seconds.\n",
+                      "for %lu.%.02lus. Rate limiting 3 per %d seconds.\n",
                       (int)lcw->lcw_pid, timediff.tv_sec,
                       timediff.tv_usec / 10000, libcfs_watchdog_ratelimit);
         } else {