summaryrefslogtreecommitdiff
path: root/Source/Kernel/VFS/FSNode.proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/VFS/FSNode.proto.h')
-rw-r--r--Source/Kernel/VFS/FSNode.proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Kernel/VFS/FSNode.proto.h b/Source/Kernel/VFS/FSNode.proto.h
index a46c79d..3e5c5a7 100644
--- a/Source/Kernel/VFS/FSNode.proto.h
+++ b/Source/Kernel/VFS/FSNode.proto.h
@@ -43,7 +43,7 @@ class FSNode : public Ressource {
virtual bool removable() = 0; //True for files, false for non-empty directories, true otherwise
virtual bool used() { return false; } //True if file is read/written from/to
- const String& getName() { return m_name; }
+ virtual const String& getName() { return m_name; }
virtual u64int getLength() { return m_length; }
u32int getPermissions() { return m_permissions; }
u32int getUid() { return m_uid; }