diff options
| author | Michael Brown | 2008-10-12 22:27:57 +0200 |
|---|---|---|
| committer | Michael Brown | 2008-10-12 22:30:37 +0200 |
| commit | 658c6dba597402c82d9558448bd928cd4c202657 (patch) | |
| tree | 7b5ed95041969a9ded896cde9b15b5b191f1a6cf /src/core | |
| parent | [timer] Formalise the timer API (diff) | |
| download | ipxe-658c6dba597402c82d9558448bd928cd4c202657.tar.gz ipxe-658c6dba597402c82d9558448bd928cd4c202657.tar.xz ipxe-658c6dba597402c82d9558448bd928cd4c202657.zip | |
[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(); } |
