summaryrefslogtreecommitdiff
path: root/Kernel/ACPI
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/ACPI
parent22611ca13667928e4f57795979027e87c1e66600 (diff)
downloadserenity-2da0581fd29afb0be066f09b0c99b814ea7982fc.zip
Kernel: Replace "folder" => "directory" everywhere
Folders are a GUI concept. File systems have directories.
Diffstat (limited to 'Kernel/ACPI')
-rw-r--r--Kernel/ACPI/Parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/ACPI/Parser.cpp b/Kernel/ACPI/Parser.cpp
index 768acd27d6..82c7bcafc1 100644
--- a/Kernel/ACPI/Parser.cpp
+++ b/Kernel/ACPI/Parser.cpp
@@ -61,12 +61,12 @@ UNMAP_AFTER_INIT ACPISysFSComponent::ACPISysFSComponent(String name, PhysicalAdd
UNMAP_AFTER_INIT void ACPISysFSDirectory::initialize()
{
- auto acpi_folder = adopt_ref(*new (nothrow) ACPISysFSDirectory());
- SysFSComponentRegistry::the().register_new_component(acpi_folder);
+ auto acpi_directory = adopt_ref(*new (nothrow) ACPISysFSDirectory());
+ SysFSComponentRegistry::the().register_new_component(acpi_directory);
}
UNMAP_AFTER_INIT ACPISysFSDirectory::ACPISysFSDirectory()
- : SysFSDirectory("acpi", SysFSComponentRegistry::the().root_folder())
+ : SysFSDirectory("acpi", SysFSComponentRegistry::the().root_directory())
{
NonnullRefPtrVector<SysFSComponent> components;
size_t ssdt_count = 0;