diff options
Diffstat (limited to 'Kernel/Devices/FullDevice.h')
-rw-r--r-- | Kernel/Devices/FullDevice.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Devices/FullDevice.h b/Kernel/Devices/FullDevice.h index 06b5fdc58c..10bde83ac2 100644 --- a/Kernel/Devices/FullDevice.h +++ b/Kernel/Devices/FullDevice.h @@ -24,10 +24,10 @@ private: FullDevice(); // ^CharacterDevice - virtual KResultOr<size_t> read(FileDescription&, u64, UserOrKernelBuffer&, size_t) override; - virtual KResultOr<size_t> write(FileDescription&, u64, const UserOrKernelBuffer&, size_t) override; - virtual bool can_read(const FileDescription&, size_t) const override; - virtual bool can_write(const FileDescription&, size_t) const override { return true; } + virtual KResultOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override; + virtual KResultOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override; + virtual bool can_read(const OpenFileDescription&, size_t) const override; + virtual bool can_write(const OpenFileDescription&, size_t) const override { return true; } virtual StringView class_name() const override { return "FullDevice"; } }; |