mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +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
|
@ -79,7 +79,7 @@ struct MountInfo {
|
|||
static void fill_mounts(Vector<MountInfo>& output)
|
||||
{
|
||||
// Output info about currently mounted filesystems.
|
||||
auto file = Core::File::construct("/proc/df");
|
||||
auto file = Core::File::construct("/sys/kernel/df");
|
||||
if (!file->open(Core::OpenMode::ReadOnly)) {
|
||||
warnln("Failed to open {}: {}", file->name(), file->error_string());
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue