1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:57:44 +00:00

Applications: Use new global variables at /sys/kernel/ directory

This commit is contained in:
Liav A 2022-10-14 21:55:17 +03:00 committed by Andrew Kaster
parent 6e508573a0
commit 5dfb2b18f3
28 changed files with 33 additions and 32 deletions

View file

@ -126,7 +126,7 @@ private:
CatDog()
: m_temp_pos { 0, 0 }
, m_proc_all(MUST(Core::File::open("/proc/all", Core::OpenMode::ReadOnly)))
, m_proc_all(MUST(Core::File::open("/sys/kernel/processes", Core::OpenMode::ReadOnly)))
{
set_image_by_main_state();
}