diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-08 13:54:44 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-08 17:19:46 +0200 |
commit | a7bbfda034562b4da80c2561c5dbd4b8c591c838 (patch) | |
tree | 6750df43672ee21bdc818ae56a63185a24bc5d61 /Kernel/FileSystem | |
parent | dc7340332d94a9e0716ebe7e7d3fcfd6fe4fca13 (diff) | |
download | serenity-a7bbfda034562b4da80c2561c5dbd4b8c591c838.zip |
Kernel: Rename KParams => Kernel::CommandLine
Let's make this read more like English.
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r-- | Kernel/FileSystem/ProcFS.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp index 2247b3d9e2..2df01329b0 100644 --- a/Kernel/FileSystem/ProcFS.cpp +++ b/Kernel/FileSystem/ProcFS.cpp @@ -33,6 +33,7 @@ #include <AK/JsonObjectSerializer.h> #include <AK/JsonValue.h> #include <Kernel/Arch/i386/CPU.h> +#include <Kernel/CommandLine.h> #include <Kernel/Devices/BlockDevice.h> #include <Kernel/FileSystem/Custody.h> #include <Kernel/FileSystem/FileBackedFileSystem.h> @@ -42,7 +43,6 @@ #include <Kernel/Interrupts/GenericInterruptHandler.h> #include <Kernel/Interrupts/InterruptManagement.h> #include <Kernel/KBufferBuilder.h> -#include <Kernel/KParams.h> #include <Kernel/Module.h> #include <Kernel/Net/LocalSocket.h> #include <Kernel/Net/NetworkAdapter.h> @@ -404,7 +404,8 @@ Optional<KBuffer> procfs$uptime(InodeIdentifier) Optional<KBuffer> procfs$cmdline(InodeIdentifier) { KBufferBuilder builder; - builder.appendf("%s\n", KParams::the().cmdline().characters()); + builder.append(kernel_command_line().string()); + builder.append('\n'); return builder.build(); } |