summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem.cpp')
-rw-r--r--Kernel/FileSystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem.cpp b/Kernel/FileSystem.cpp
index bc1d1d2146..6d7cd7f895 100644
--- a/Kernel/FileSystem.cpp
+++ b/Kernel/FileSystem.cpp
@@ -76,7 +76,7 @@ ByteBuffer Inode::read_entire(FileDescriptor* descriptor) const
FS::DirectoryEntry::DirectoryEntry(const char* n, InodeIdentifier i, byte ft)
: name_length(strlen(n))
, inode(i)
- , fileType(ft)
+ , file_type(ft)
{
memcpy(name, n, name_length);
name[name_length] = '\0';
@@ -85,7 +85,7 @@ FS::DirectoryEntry::DirectoryEntry(const char* n, InodeIdentifier i, byte ft)
FS::DirectoryEntry::DirectoryEntry(const char* n, size_t nl, InodeIdentifier i, byte ft)
: name_length(nl)
, inode(i)
- , fileType(ft)
+ , file_type(ft)
{
memcpy(name, n, nl);
name[nl] = '\0';