@@ -207,7 +207,8 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
207
207
"fcntl" => {
208
208
// `fcntl` is variadic. The argument count is checked based on the first argument
209
209
// 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) ?;
211
212
let result = this. fcntl ( args, fixed, var) ?;
212
213
this. write_scalar ( result, dest) ?;
213
214
}
@@ -236,7 +237,8 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
236
237
"open" | "open64" => {
237
238
// `open` is variadic, the third argument is only present when the second argument
238
239
// 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) ?;
240
242
let result = this. open ( args, fixed, var) ?;
241
243
this. write_scalar ( result, dest) ?;
242
244
}
0 commit comments