@@ -207,7 +207,8 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
207207 "fcntl" => {
208208 // `fcntl` is variadic. The argument count is checked based on the first argument
209209 // in `this.fcntl()`, so we do not use `check_shim` here.
210- let ( fixed, var) = this. check_shim_variadic :: < 2 > ( abi, Conv :: C , link_name, "fcntl" , args) ?;
210+ let ( fixed, var) =
211+ this. check_shim_variadic :: < 2 > ( abi, Conv :: C , link_name, "fcntl" , args) ?;
211212 let result = this. fcntl ( args, fixed, var) ?;
212213 this. write_scalar ( result, dest) ?;
213214 }
@@ -236,7 +237,8 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
236237 "open" | "open64" => {
237238 // `open` is variadic, the third argument is only present when the second argument
238239 // has O_CREAT (or on linux O_TMPFILE, but miri doesn't support that) set
239- let ( fixed, var) = this. check_shim_variadic :: < 2 > ( abi, Conv :: C , link_name, "open/open64" , args) ?;
240+ let ( fixed, var) =
241+ this. check_shim_variadic :: < 2 > ( abi, Conv :: C , link_name, "open/open64" , args) ?;
240242 let result = this. open ( args, fixed, var) ?;
241243 this. write_scalar ( result, dest) ?;
242244 }
0 commit comments