# HG changeset patch # User Sebastien Decugis # Date 1265779893 -32400 # Node ID b4380eb4174dfb8b204e559eb6f81fd41d82ba2d # Parent 1b47afa59358c81dea386cf63297d0e3e0a73d7c Fix diplay error diff -r 1b47afa59358 -r b4380eb4174d extensions/dbg_monitor/dbg_monitor.c --- a/extensions/dbg_monitor/dbg_monitor.c Wed Feb 10 11:22:42 2010 +0900 +++ b/extensions/dbg_monitor/dbg_monitor.c Wed Feb 10 14:31:33 2010 +0900 @@ -78,7 +78,7 @@ while (1) { #ifdef DEBUG for (i++; i % 30; i++) { - fd_log_debug("[dbg_monitor] %ih%*im%*is\n", i/3600, 2, i/60, 2, i%60); /* This makes it easier to detect inactivity periods in the log file */ + fd_log_debug("[dbg_monitor] %ih%*im%*is\n", i/3600, 2, (i/60) % 60 , 2, i%60); /* This makes it easier to detect inactivity periods in the log file */ sleep(1); } #else /* DEBUG */