summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/File.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/File.h')
-rw-r--r--Kernel/FileSystem/File.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/File.h b/Kernel/FileSystem/File.h
index 0ba1fb239f..02fc614326 100644
--- a/Kernel/FileSystem/File.h
+++ b/Kernel/FileSystem/File.h
@@ -82,8 +82,8 @@ public:
virtual String absolute_path(const FileDescription&) const = 0;
virtual KResult truncate(u64) { return KResult(-EINVAL); }
- virtual KResult chown(uid_t, gid_t) { return KResult(-EBADF); }
- virtual KResult chmod(mode_t) { return KResult(-EBADF); }
+ virtual KResult chown(FileDescription&, uid_t, gid_t) { return KResult(-EBADF); }
+ virtual KResult chmod(FileDescription&, mode_t) { return KResult(-EBADF); }
virtual const char* class_name() const = 0;