summaryrefslogtreecommitdiff
path: root/Userland/Utilities/strace.cpp
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-02-09 03:02:46 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:50:07 +0000
commit606a3982f34d777f121fcc4aa964141199676c20 (patch)
tree836fef41d11f1b77f4dac7d699e5c9f720ee4ff1 /Userland/Utilities/strace.cpp
parenta96339b72b3b417ffaa4fbb4e7575149f749acaa (diff)
downloadserenity-606a3982f34d777f121fcc4aa964141199676c20.zip
LibCore: Move Stream-based file into the `Core` namespace
Diffstat (limited to 'Userland/Utilities/strace.cpp')
-rw-r--r--Userland/Utilities/strace.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Userland/Utilities/strace.cpp b/Userland/Utilities/strace.cpp
index 1996e5d12d..a20ae8a55a 100644
--- a/Userland/Utilities/strace.cpp
+++ b/Userland/Utilities/strace.cpp
@@ -11,6 +11,7 @@
#include <AK/Types.h>
#include <Kernel/API/SyscallString.h>
#include <LibCore/ArgsParser.h>
+#include <LibCore/File.h>
#include <LibCore/Stream.h>
#include <LibCore/System.h>
#include <LibMain/Main.h>
@@ -836,8 +837,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
parser.parse(arguments);
auto trace_file = output_filename.is_empty()
- ? TRY(Core::Stream::File::standard_error())
- : TRY(Core::Stream::File::open(output_filename, Core::Stream::OpenMode::Write));
+ ? TRY(Core::File::standard_error())
+ : TRY(Core::File::open(output_filename, Core::File::OpenMode::Write));
auto parse_syscalls = [](char const* option, auto& hash_table) {
if (option != nullptr) {