summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/vfs_aio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index 86998bb19638..7cae398f963a 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;