diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c index 4956af0417a..6ae0fb1a892 100644 --- a/sys/kern/kern_time.c +++ b/sys/kern/kern_time.c @@ -982,7 +982,7 @@ ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) return (maxpps != 0); } else { (*curpps)++; /* NB: ignore potential overflow */ - return (maxpps < 0 || *curpps < maxpps); + return (maxpps < 0 || *curpps <= maxpps); } }