diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 92a90014a925296d1cd821019efef37cecdb2733..f43d47c8c3b6c5296492f3f816d580940dc4c0fe 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, time_constant = max(time_constant, 0l); } - if (txc->modes & ADJ_TAI && txc->constant > 0) + if (txc->modes & ADJ_TAI && txc->constant >= 0) *time_tai = txc->constant; if (txc->modes & ADJ_OFFSET)