aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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