summaryrefslogtreecommitdiff
path: root/test/test_poll.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_poll.rs')
-rw-r--r--test/test_poll.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_poll.rs b/test/test_poll.rs
index a5e2d254..acfaad8b 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)
}
}
}