diff --git a/Kernel/FileSystem/FATFS/Inode.cpp b/Kernel/FileSystem/FATFS/Inode.cpp index 8d6f130515356d..7e12c6ad47950e 100644 --- a/Kernel/FileSystem/FATFS/Inode.cpp +++ b/Kernel/FileSystem/FATFS/Inode.cpp @@ -651,7 +651,7 @@ ErrorOr> FATInode::lookup(StringView name) VERIFY(has_flag(m_entry.attributes, FATAttributes::Directory)); auto inode = TRY(traverse([name](auto child) -> ErrorOr { - return child->m_filename->view() == name; + return child->m_filename->view().equals_ignoring_ascii_case(name); })); if (inode.is_null())