summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-23 00:46:15 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-23 01:25:29 +0200
commit31d3eac65109e6e1c71cf18501eb646b7984a3cd (patch)
treed130ef65d1b149bf32bb4d113156808912aa4b6b /Kernel/FileSystem
parent274be68102ba179d2b727b04f96b540cd93157af (diff)
downloadserenity-31d3eac65109e6e1c71cf18501eb646b7984a3cd.zip
Ext2FS: Fix build with EXT2_DEBUG
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r--Kernel/FileSystem/Ext2FileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/Ext2FileSystem.cpp b/Kernel/FileSystem/Ext2FileSystem.cpp
index deee0cca05..9f547bb85b 100644
--- a/Kernel/FileSystem/Ext2FileSystem.cpp
+++ b/Kernel/FileSystem/Ext2FileSystem.cpp
@@ -915,7 +915,7 @@ bool Ext2FSInode::write_directory(const Vector<Ext2FSDirectoryEntry>& entries)
#ifdef EXT2_DEBUG
dbg() << "* Inode: " << entry.inode
- << ", name_len: " << u16(entry.name_length)
+ << ", name_len: " << u16(entry.name.length())
<< ", rec_len: " << u16(record_length)
<< ", file_type: " << u8(entry.file_type)
<< ", name: " << entry.name;