summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/NullDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'VirtualFileSystem/NullDevice.h')
-rw-r--r--VirtualFileSystem/NullDevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/VirtualFileSystem/NullDevice.h b/VirtualFileSystem/NullDevice.h
index c73f35a9bb..b9abfa3019 100644
--- a/VirtualFileSystem/NullDevice.h
+++ b/VirtualFileSystem/NullDevice.h
@@ -10,6 +10,7 @@ public:
virtual ssize_t read(byte* buffer, size_t bufferSize) override;
virtual ssize_t write(const byte* buffer, size_t bufferSize) override;
+ virtual bool can_write(Process&) const override { return true; }
virtual bool has_data_available_for_reading(Process&) const override;
};