Skip to content

Commit 1be86af

Browse files
tiifRalfJung
andcommitted
Update throw_unsup_format error message
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent cfd7c26 commit 1be86af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/shims/unix/linux/eventfd.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
178178
}
179179
if flags != 0 {
180180
throw_unsup_format!(
181-
"eventfd: Flags other than EFD_CLOEXEC, EFD_NONBLOCK \
182-
and EFD_SEMAPHORE is not supported."
181+
"eventfd: encountered unknown unsupported flags {:#x}"
183182
);
184183
}
185184

0 commit comments

Comments
 (0)