summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/CharacterDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'VirtualFileSystem/CharacterDevice.h')
-rw-r--r--VirtualFileSystem/CharacterDevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/VirtualFileSystem/CharacterDevice.h b/VirtualFileSystem/CharacterDevice.h
index 58df4618ab..92c29ed2cd 100644
--- a/VirtualFileSystem/CharacterDevice.h
+++ b/VirtualFileSystem/CharacterDevice.h
@@ -13,7 +13,7 @@ public:
InodeMetadata metadata() const { return { }; }
- RetainPtr<FileDescriptor> open(int options);
+ virtual RetainPtr<FileDescriptor> open(int& error, int options);
virtual bool can_read(Process&) const = 0;
virtual bool can_write(Process&) const = 0;