aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs
index 5253cd9..effee47 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -10,7 +10,7 @@ pub enum Error {
CreatePty(#[source] nix::Error),
#[error("error opening pts at {0}")]
- OpenPts(std::path::PathBuf, #[source] std::io::Error),
+ OpenPts(#[source] std::io::Error, std::path::PathBuf),
#[error("error setting terminal size")]
SetTermSize(#[source] nix::Error),