diff options
-rw-r--r-- | sys/kern/kern_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c index 3c8826c..c3d1b86 100644 --- a/sys/kern/kern_event.c +++ b/sys/kern/kern_event.c @@ -1324,7 +1324,7 @@ kqueue_scan(struct kqueue *kq, int maxevents, struct kevent_copyops *k_ops, rsbt = 0; if (tsp != NULL) { if (tsp->tv_sec < 0 || tsp->tv_nsec < 0 || - tsp->tv_nsec > 1000000000) { + tsp->tv_nsec >= 1000000000) { error = EINVAL; goto done_nl; } |