From 462522503b76fe31c3b0d1248b1879de166a5c2d Mon Sep 17 00:00:00 2001 From: iliana etaoin Date: Thu, 9 May 2024 15:52:00 +0000 Subject: [PATCH] XXX oxidecomputer/omicron#5722 --- lib/opte-ioctl/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/opte-ioctl/src/lib.rs b/lib/opte-ioctl/src/lib.rs index 7906ecf2..589aac9f 100644 --- a/lib/opte-ioctl/src/lib.rs +++ b/lib/opte-ioctl/src/lib.rs @@ -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