File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -168,16 +168,18 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
168
168
// Unset the flag that we support.
169
169
// After unloading, flags != 0 means other flags are used.
170
170
if flags & efd_cloexec == efd_cloexec {
171
- // cloexec is ignored because Miri does not suport exec.
171
+ // cloexec is ignored because Miri does not support exec.
172
172
flags &= !efd_cloexec;
173
173
}
174
174
if flags & efd_nonblock == efd_nonblock {
175
175
flags &= !efd_nonblock;
176
176
is_nonblock = true ;
177
177
}
178
178
if flags != 0 {
179
- throw_unsup_format ! ( "eventfd: Flags other than EFD_CLOEXEC, EFD_NONBLOCK \
180
- and EFD_SEMAPHORE is not supported.") ;
179
+ throw_unsup_format ! (
180
+ "eventfd: Flags other than EFD_CLOEXEC, EFD_NONBLOCK \
181
+ and EFD_SEMAPHORE is not supported."
182
+ ) ;
181
183
}
182
184
183
185
let fd = this. machine . fds . insert_fd ( FileDescriptor :: new ( Event {
You can’t perform that action at this time.
0 commit comments