summaryrefslogtreecommitdiff
path: root/Userland/Applications/SpaceAnalyzer/main.cpp
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-10-14 21:55:17 +0300
committerAndrew Kaster <andrewdkaster@gmail.com>2022-10-25 15:33:34 -0600
commit5dfb2b18f36432bf334ebcdf21591fd5426eb9b4 (patch)
tree8aedee7f675b3dbc190f0dffacdcf84c0fdc3ba6 /Userland/Applications/SpaceAnalyzer/main.cpp
parent6e508573a0c1a3a3730bfeb0bc0ee06071f7248f (diff)
downloadserenity-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.cpp2
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;