From 658c6dba597402c82d9558448bd928cd4c202657 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 12 Oct 2008 21:27:57 +0100 Subject: [PATCH] [monojob] Allow for extremely slow system timers The EFI timer runs at one tick per second, so using ">" rather than ">=" results in a two-second gap between dots. --- src/core/monojob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/monojob.c b/src/core/monojob.c index a7e83851..3c023c40 100644 --- a/src/core/monojob.c +++ b/src/core/monojob.c @@ -83,7 +83,7 @@ int monojob_wait ( const char *string ) { } } elapsed = ( currticks() - last_progress_dot ); - if ( elapsed > TICKS_PER_SEC ) { + if ( elapsed >= TICKS_PER_SEC ) { printf ( "." ); last_progress_dot = currticks(); }