diff options
Diffstat (limited to 'Userland/Utilities/mount.cpp')
-rw-r--r-- | Userland/Utilities/mount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/mount.cpp b/Userland/Utilities/mount.cpp index bee21b39a0..21e731f58b 100644 --- a/Userland/Utilities/mount.cpp +++ b/Userland/Utilities/mount.cpp @@ -150,7 +150,7 @@ static ErrorOr<void> print_mounts() // Output info about currently mounted filesystems. auto df = TRY(Core::Stream::File::open("/sys/kernel/df"sv, Core::Stream::OpenMode::Read)); - auto content = TRY(df->read_all()); + auto content = TRY(df->read_until_eof()); auto json = TRY(JsonValue::from_string(content)); json.as_array().for_each([](auto& value) { |