summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-04-24 17:50:35 +0300
committerAndreas Kling <kling@serenityos.org>2021-05-16 19:58:33 +0200
commit8f2ddde4cb0cba281d9144123bbdd92db9233654 (patch)
tree9c3c9c0967676385349f8b14439f10e0031ba2c9 /Kernel/FileSystem
parent0669dd82e2bc19c007690c6723cb4230ac4a55f9 (diff)
downloadserenity-8f2ddde4cb0cba281d9144123bbdd92db9233654.zip
Kernel: Rename Console => ConsoleDevice
This change will help to distinguish between the console device and the Console abstraction layer in the Graphics subsystem later.
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r--Kernel/FileSystem/ProcFS.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp
index 805f852293..aff36ed954 100644
--- a/Kernel/FileSystem/ProcFS.cpp
+++ b/Kernel/FileSystem/ProcFS.cpp
@@ -12,7 +12,7 @@
#include <Kernel/Arch/x86/CPU.h>
#include <Kernel/Arch/x86/ProcessorInfo.h>
#include <Kernel/CommandLine.h>
-#include <Kernel/Console.h>
+#include <Kernel/ConsoleDevice.h>
#include <Kernel/DMI.h>
#include <Kernel/Debug.h>
#include <Kernel/Devices/BlockDevice.h>
@@ -653,7 +653,7 @@ static bool procfs$self(InodeIdentifier, KBufferBuilder& builder)
static bool procfs$dmesg(InodeIdentifier, KBufferBuilder& builder)
{
InterruptDisabler disabler;
- for (char ch : Console::the().logbuffer())
+ for (char ch : ConsoleDevice::the().logbuffer())
builder.append(ch);
return true;
}