diff --git a/src/sys/wasi/mod.rs b/src/sys/wasi/mod.rs index 596d365d9..e1169d28b 100644 --- a/src/sys/wasi/mod.rs +++ b/src/sys/wasi/mod.rs @@ -334,7 +334,7 @@ pub(crate) mod event { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("EventFdReadwrite") .field("nbytes", &self.0.nbytes) - .field("flags", &self.0.flags) + .field("flags", &EventrwflagsDetails(self.0.flags)) .finish() } }