diff options
Diffstat (limited to 'Kernel/TTY/MasterPTY.h')
-rw-r--r-- | Kernel/TTY/MasterPTY.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Kernel/TTY/MasterPTY.h b/Kernel/TTY/MasterPTY.h index c98dd625f9..22fd3db48e 100644 --- a/Kernel/TTY/MasterPTY.h +++ b/Kernel/TTY/MasterPTY.h @@ -20,13 +20,13 @@ public: private: // ^CharacterDevice - virtual ssize_t read(Process&, byte*, ssize_t) override; - virtual ssize_t write(Process&, const byte*, ssize_t) override; - virtual bool can_read(Process&) const override; - virtual bool can_write(Process&) const override; + virtual ssize_t read(FileDescriptor&, byte*, ssize_t) override; + virtual ssize_t write(FileDescriptor&, const byte*, ssize_t) override; + virtual bool can_read(FileDescriptor&) const override; + virtual bool can_write(FileDescriptor&) const override; virtual void close() override; virtual bool is_master_pty() const override { return true; } - virtual int ioctl(Process&, unsigned request, unsigned arg) override; + virtual int ioctl(FileDescriptor&, unsigned request, unsigned arg) override; virtual const char* class_name() const override { return "MasterPTY"; } RetainPtr<SlavePTY> m_slave; |