mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +00:00
Applications: Use new global variables at /sys/kernel/ directory
This commit is contained in:
@@ -31,7 +31,7 @@ ProcessModel::ProcessModel()
|
||||
VERIFY(!s_the);
|
||||
s_the = this;
|
||||
|
||||
auto file = Core::File::construct("/proc/cpuinfo");
|
||||
auto file = Core::File::construct("/sys/kernel/cpuinfo");
|
||||
if (file->open(Core::OpenMode::ReadOnly)) {
|
||||
auto buffer = file->read_all();
|
||||
auto json = JsonValue::from_string({ buffer });
|
||||
|
||||
Reference in New Issue
Block a user