diff options
author | Alan Cox <alc@FreeBSD.org> | 2001-12-31 03:13:24 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2001-12-31 03:13:24 +0000 |
commit | 5ca50a4bc988425fcf5b57bb280736ce3e3becb0 (patch) | |
tree | 83171615a036c0ff7479efaeea651b041c69d272 /sys | |
parent | 516d256401ab4ce2e8ef04b995b1c4571e23bde0 (diff) | |
download | src-5ca50a4bc988425fcf5b57bb280736ce3e3becb0.tar.gz src-5ca50a4bc988425fcf5b57bb280736ce3e3becb0.zip |
Notes
Diffstat (limited to 'sys')
-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 21ce2bb40b19..7aa57f975c42 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; |