summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Meta/Lagom/Fuzzers/FuzzilliJs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
index 423484ad82..d8077d4da1 100644
--- a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
@@ -5,6 +5,7 @@
*/
#include <AK/DeprecatedString.h>
+#include <AK/Format.h>
#include <AK/Function.h>
#include <AK/StringView.h>
#include <LibJS/Forward.h>
@@ -160,7 +161,7 @@ JS_DEFINE_NATIVE_FUNCTION(TestRunnerGlobalObject::fuzzilli)
}
auto string = TRY(vm.argument(1).to_string(vm));
- fprintf(fzliout, "%s\n", string.characters());
+ outln(fzliout, "{}", string);
fflush(fzliout);
}