summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem.h')
-rw-r--r--Kernel/FileSystem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/FileSystem.h b/Kernel/FileSystem.h
index 77169cd751..b3081e3269 100644
--- a/Kernel/FileSystem.h
+++ b/Kernel/FileSystem.h
@@ -15,6 +15,7 @@
#include <AK/kstdio.h>
#include <AK/Lock.h>
#include <AK/WeakPtr.h>
+#include <Kernel/KResult.h>
static const dword mepoch = 476763780;
@@ -96,7 +97,7 @@ public:
virtual bool remove_child(const String& name, int& error) = 0;
virtual RetainPtr<Inode> parent() const = 0;
virtual size_t directory_entry_count() const = 0;
- virtual bool chmod(mode_t, int& error) = 0;
+ virtual KResult chmod(mode_t) = 0;
LocalSocket* socket() { return m_socket.ptr(); }
const LocalSocket* socket() const { return m_socket.ptr(); }