diff --git a/test/test_poll.rs b/test/test_poll.rs index a5e2d254b5..acfaad8bea 100644 --- a/test/test_poll.rs +++ b/test/test_poll.rs @@ -11,7 +11,7 @@ macro_rules! loop_while_eintr { match $poll_expr { Ok(nfds) => break nfds, Err(Error::Sys(Errno::EINTR)) => (), - Err(e) => panic!(e) + Err(e) => panic!("{}", e) } } }