Commit 6a6d3bb1 authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Fix diplay error

parent f108a53c
......@@ -78,7 +78,7 @@ static void * mn_thr(void * arg)
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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment