summaryrefslogtreecommitdiff
path: root/Kernel/Arch/PC
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-17 23:15:52 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-17 23:50:00 +0200
commit2da0581fd29afb0be066f09b0c99b814ea7982fc (patch)
tree51a67ebcc39fbb3d3ab0d1f3a7a6a1643b7268c3 /Kernel/Arch/PC
parent22611ca13667928e4f57795979027e87c1e66600 (diff)
downloadserenity-2da0581fd29afb0be066f09b0c99b814ea7982fc.zip
Kernel: Replace "folder" => "directory" everywhere
Folders are a GUI concept. File systems have directories.
Diffstat (limited to 'Kernel/Arch/PC')
-rw-r--r--Kernel/Arch/PC/BIOS.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Arch/PC/BIOS.cpp b/Kernel/Arch/PC/BIOS.cpp
index be3b68a8fe..6a03b6d126 100644
--- a/Kernel/Arch/PC/BIOS.cpp
+++ b/Kernel/Arch/PC/BIOS.cpp
@@ -95,9 +95,9 @@ UNMAP_AFTER_INIT void BIOSSysFSDirectory::set_dmi_32_bit_entry_initialization_va
UNMAP_AFTER_INIT void BIOSSysFSDirectory::initialize()
{
- auto bios_folder = adopt_ref(*new (nothrow) BIOSSysFSDirectory());
- SysFSComponentRegistry::the().register_new_component(bios_folder);
- bios_folder->create_components();
+ auto bios_directory = adopt_ref(*new (nothrow) BIOSSysFSDirectory());
+ SysFSComponentRegistry::the().register_new_component(bios_directory);
+ bios_directory->create_components();
}
void BIOSSysFSDirectory::create_components()
@@ -135,7 +135,7 @@ OwnPtr<KBuffer> BIOSSysFSDirectory::smbios_structure_table() const
}
UNMAP_AFTER_INIT BIOSSysFSDirectory::BIOSSysFSDirectory()
- : SysFSDirectory("bios", SysFSComponentRegistry::the().root_folder())
+ : SysFSDirectory("bios", SysFSComponentRegistry::the().root_directory())
{
auto entry_32bit = find_dmi_entry32bit_point();
m_dmi_entry_point = entry_32bit.value();