diff options
author | Liav A <liavalb@gmail.com> | 2022-10-14 21:55:17 +0300 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2022-10-25 15:33:34 -0600 |
commit | 5dfb2b18f36432bf334ebcdf21591fd5426eb9b4 (patch) | |
tree | 8aedee7f675b3dbc190f0dffacdcf84c0fdc3ba6 /Userland/Applications/SpaceAnalyzer/main.cpp | |
parent | 6e508573a0c1a3a3730bfeb0bc0ee06071f7248f (diff) | |
download | serenity-5dfb2b18f36432bf334ebcdf21591fd5426eb9b4.zip |
Applications: Use new global variables at /sys/kernel/ directory
Diffstat (limited to 'Userland/Applications/SpaceAnalyzer/main.cpp')
-rw-r--r-- | Userland/Applications/SpaceAnalyzer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/SpaceAnalyzer/main.cpp b/Userland/Applications/SpaceAnalyzer/main.cpp index 818dc50ecd..ea3d82351c 100644 --- a/Userland/Applications/SpaceAnalyzer/main.cpp +++ b/Userland/Applications/SpaceAnalyzer/main.cpp @@ -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; |