Browse code

- "adjusting timer ticks" is printed less often

Andrei Pelinescu-Onciul authored on 20/02/2006 23:30:47
Showing 1 changed files
... ...
@@ -421,7 +421,7 @@ inline static void adjust_ticks()
421 421
 				/* fix the ticks */
422 422
 				if (delta>(s_ticks_t)TIMER_MAX_DRIFT){
423 423
 #ifndef TIMER_DEBUG
424
-					if (delta > 2*(s_ticks_t)TIMER_MAX_DRIFT)
424
+					if (delta > 2*(s_ticks_t)TIMER_MAX_DRIFT+1)
425 425
 #endif
426 426
 						LOG(L_INFO, "adjusting timer ticks (%lu) with %ld ms"
427 427
 								" (%ld ticks)\n",