aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-03-06 12:39:14 -0500
committerJesse Luehrs <doy@tozt.net>2021-03-06 12:39:14 -0500
commit9d843436ffc583d95beff7660011eabcaf54fb62 (patch)
tree509645cdbb115df234c9a1560dc9b55bc9352936
parentc9fc9cd6983ccd3c50ce58823807f0b18aa8cde1 (diff)
downloadpty-process-9d843436ffc583d95beff7660011eabcaf54fb62.tar.gz
pty-process-9d843436ffc583d95beff7660011eabcaf54fb62.zip
fix error message
-rw-r--r--src/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs
index f97ede5..b4ca3d5 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -14,7 +14,7 @@ pub enum Error {
CreatePty(#[source] nix::Error),
/// error opening pts at \<path\>
- #[error("error opening pts at {0}")]
+ #[error("error opening pts at {1}")]
OpenPts(#[source] std::io::Error, std::path::PathBuf),
/// error setting terminal size