summaryrefslogtreecommitdiff
path: root/Userland/Utilities/test-fuzz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/test-fuzz.cpp')
-rw-r--r--Userland/Utilities/test-fuzz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/test-fuzz.cpp b/Userland/Utilities/test-fuzz.cpp
index 2a0b0c7bba..fea99e8686 100644
--- a/Userland/Utilities/test-fuzz.cpp
+++ b/Userland/Utilities/test-fuzz.cpp
@@ -152,7 +152,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto fn = parse_target_name(type);
auto file = TRY(Core::Stream::File::open(filename, Core::Stream::OpenMode::Read));
- auto input = TRY(file->read_all());
+ auto input = TRY(file->read_until_eof());
return fn(input.data(), input.size());
}