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:
parent
ee01c1bf47
commit
43bc57303e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user