commit | a2a5ac8650b570bea3cb3614f77739dcd07d6632 | [log] [tgz] |
---|---|---|
author | John Stultz <johnstul@us.ibm.com> | Thu Feb 26 09:46:14 2009 -0800 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Feb 26 19:39:47 2009 +0100 |
tree | 366d8184698c17103ca68b4a51b47b0c63771186 | |
parent | 39854fe8c165872d743f6a0c4860ca2de8e45ac9 [diff] |
time: ntp: fix bug in ntp_update_offset() & do_adjtimex(), fix The time_status conditional was accidentally placed right after we clear the checked time_status bits, which causes us to take the conditional every time through. This fixes it by moving the conditional to before we clear the time_status bits. Signed-off-by: John Stultz <johnstul@us.ibm.com> Cc: Clark Williams <williams@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>