Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
leap-a-day: Clear maxerror value to avoid STA_UNSYNC flag
While the system runs, the maxerror value is always increasing and if it crosses the phase limit, the STA_UNSYNC flag will be set. This causes adjtimex to return TIME_ERROR/TIME_BAD. Thus clear maxerror before running the test to avoid STA_UNSYNC flag from getting set. Signed-off-by: John Stultz <john.stultz@linaro.org>
- Loading branch information