From 812e0f6f1eba1ff5e3a44c745612daeb6f2c6ba2 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sat, 20 Jun 2026 13:24:10 +0700 Subject: [PATCH] ptyd: Revert pty master fpath --- ptyd/src/controlterm.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ptyd/src/controlterm.rs b/ptyd/src/controlterm.rs index 95b09536a8..df42314c5f 100644 --- a/ptyd/src/controlterm.rs +++ b/ptyd/src/controlterm.rs @@ -37,10 +37,7 @@ impl Resource for PtyControlTerm { } fn path(&mut self, buf: &mut [u8]) -> Result { - FpathWriter::with(buf, "pty", |w| { - write!(w, "ptmx").unwrap(); - Ok(()) - }) + self.pty.borrow_mut().path(buf) } fn read(&mut self, buf: &mut [u8]) -> Result {