diff options
| -rw-r--r-- | kernel/time/ntp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 92a90014a925..f43d47c8c3b6 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c | |||
| @@ -690,7 +690,7 @@ static inline void process_adjtimex_modes(const struct __kernel_timex *txc, | |||
| 690 | time_constant = max(time_constant, 0l); | 690 | time_constant = max(time_constant, 0l); |
| 691 | } | 691 | } |
| 692 | 692 | ||
| 693 | if (txc->modes & ADJ_TAI && txc->constant > 0) | 693 | if (txc->modes & ADJ_TAI && txc->constant >= 0) |
| 694 | *time_tai = txc->constant; | 694 | *time_tai = txc->constant; |
| 695 | 695 | ||
| 696 | if (txc->modes & ADJ_OFFSET) | 696 | if (txc->modes & ADJ_OFFSET) |
