ptyd: Revert pty master fpath
This commit is contained in:
@@ -37,10 +37,7 @@ impl Resource for PtyControlTerm {
|
||||
}
|
||||
|
||||
fn path(&mut self, buf: &mut [u8]) -> Result<usize> {
|
||||
FpathWriter::with(buf, "pty", |w| {
|
||||
write!(w, "ptmx").unwrap();
|
||||
Ok(())
|
||||
})
|
||||
self.pty.borrow_mut().path(buf)
|
||||
}
|
||||
|
||||
fn read(&mut self, buf: &mut [u8]) -> Result<usize> {
|
||||
|
||||
Reference in New Issue
Block a user