diff options
| -rw-r--r-- | sys/kern/vfs_aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index 21ce2bb40b19a..7aa57f975c429 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -1625,7 +1625,7 @@ aio_suspend(struct thread *td, struct aio_suspend_args *uap) int *ijoblist; struct aiocb **ujoblist; - if (uap->nent >= AIO_LISTIO_MAX) + if (uap->nent > AIO_LISTIO_MAX) return EINVAL; timo = 0; |
