diff options
Diffstat (limited to 'Kernel/ProcFS.h')
-rw-r--r-- | Kernel/ProcFS.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/ProcFS.h b/Kernel/ProcFS.h index f2b0e0a0e0..bc4d139cb8 100644 --- a/Kernel/ProcFS.h +++ b/Kernel/ProcFS.h @@ -76,13 +76,13 @@ public: private: // ^Inode - virtual ssize_t read_bytes(off_t, size_t, byte* buffer, FileDescriptor*) const override; + virtual ssize_t read_bytes(off_t, ssize_t, byte* buffer, FileDescriptor*) const override; virtual InodeMetadata metadata() const override; virtual bool traverse_as_directory(Function<bool(const FS::DirectoryEntry&)>) const override; virtual InodeIdentifier lookup(const String& name) override; virtual String reverse_lookup(InodeIdentifier) override; virtual void flush_metadata() override; - virtual ssize_t write_bytes(off_t, size_t, const byte* buffer, FileDescriptor*) override; + virtual ssize_t write_bytes(off_t, ssize_t, const byte* buffer, FileDescriptor*) override; virtual bool add_child(InodeIdentifier child_id, const String& name, byte file_type, int& error) override; virtual bool remove_child(const String& name, int& error) override; virtual RetainPtr<Inode> parent() const override; |