mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:37:42 +00:00
Applications: Use new global variables at /sys/kernel/ directory
This commit is contained in:
parent
6e508573a0
commit
5dfb2b18f3
28 changed files with 33 additions and 32 deletions
|
@ -105,7 +105,7 @@ static inline u64 page_count_to_bytes(size_t count)
|
|||
|
||||
void MemoryStatsWidget::refresh()
|
||||
{
|
||||
auto proc_memstat = Core::File::construct("/proc/memstat");
|
||||
auto proc_memstat = Core::File::construct("/sys/kernel/memstat");
|
||||
if (!proc_memstat->open(Core::OpenMode::ReadOnly))
|
||||
VERIFY_NOT_REACHED();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue