diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-10-12 21:27:57 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-10-12 21:30:37 +0100 |
commit | 658c6dba597402c82d9558448bd928cd4c202657 (patch) | |
tree | 7b5ed95041969a9ded896cde9b15b5b191f1a6cf /src/core | |
parent | 16f1e35775c972ba8e02bc2d97d7a2eb333eae1b (diff) | |
download | ipxe-658c6dba597402c82d9558448bd928cd4c202657.tar.gz |
[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.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/monojob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/monojob.c b/src/core/monojob.c index a7e838514..3c023c402 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(); } |