mirror of
https://github.com/opnsense/src.git
synced 2026-04-27 09:06:49 -04:00
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
3831e7d7f5
commit
b490cc72b2
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue