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> {
168168 // Unset the flag that we support.
169169 // After unloading, flags != 0 means other flags are used.
170170 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.
172172 flags &= !efd_cloexec;
173173 }
174174 if flags & efd_nonblock == efd_nonblock {
175175 flags &= !efd_nonblock;
176176 is_nonblock = true ;
177177 }
178178 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+ ) ;
181183 }
182184
183185 let fd = this. machine . fds . insert_fd ( FileDescriptor :: new ( Event {
You can’t perform that action at this time.
0 commit comments