diff options
Diffstat (limited to 'VirtualFileSystem/FileDescriptor.cpp')
-rw-r--r-- | VirtualFileSystem/FileDescriptor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/VirtualFileSystem/FileDescriptor.cpp b/VirtualFileSystem/FileDescriptor.cpp index 566ae61561..6a3898aeac 100644 --- a/VirtualFileSystem/FileDescriptor.cpp +++ b/VirtualFileSystem/FileDescriptor.cpp @@ -218,7 +218,7 @@ ssize_t FileDescriptor::get_dir_entries(byte* buffer, Unix::size_t size) m_vnode->vfs()->enumerateDirectoryInode(m_vnode->inode, [&stream] (auto& entry) { stream << (dword)entry.inode.index(); stream << (byte)entry.fileType; - stream << (dword)entry.name.length(); + stream << (dword)entry.name_length; stream << entry.name; return true; }); |