diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index 86998bb1963..7cae398f963 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -2015,7 +2015,8 @@ lio_listio(struct thread *td, struct lio_listio_args *uap) runningcode = EIO; if (uap->mode == LIO_WAIT) { - int command, found, jobref; + int command, found; + long jobref; for (;;) { found = 0;