In lio_listio(2) change jobref from an int to a long so that

lio_listio(LIO_WAIT, ...) works correctly on 64-bit architectures.

Reviewed by: tegge
This commit is contained in:
alc 2005-06-07 05:28:21 +00:00
parent ee01c1bf47
commit 43bc57303e

View File

@ -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;