Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
iliana committed May 9, 2024
1 parent 7ee353a commit 4625225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opte-ioctl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ where
const MAX_ITERATIONS: u8 = 3;
for _ in 0..MAX_ITERATIONS {
let ret = unsafe {
libc::ioctl(dev, XDE_IOC_OPTE_CMD as libc::c_int, &rioctl)
libc::ioctl(dev, XDE_IOC_OPTE_CMD as libc::c_int, &mut rioctl)
};

// The ioctl(2) failed for a reason other than the response
Expand Down

0 comments on commit 4625225

Please sign in to comment.