diff options
Diffstat (limited to 'Userland/Utilities/shot.cpp')
-rw-r--r-- | Userland/Utilities/shot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/shot.cpp b/Userland/Utilities/shot.cpp index 3ecbfff3cb..f39f8df362 100644 --- a/Userland/Utilities/shot.cpp +++ b/Userland/Utilities/shot.cpp @@ -161,7 +161,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) if (edit_image) output_path = Core::DateTime::now().to_deprecated_string("/tmp/screenshot-%Y-%m-%d-%H-%M-%S.png"sv); - auto file_or_error = Core::Stream::File::open(output_path, Core::Stream::OpenMode::ReadWrite); + auto file_or_error = Core::File::open(output_path, Core::File::OpenMode::ReadWrite); if (file_or_error.is_error()) { warnln("Could not open '{}' for writing: {}", output_path, file_or_error.error()); return 1; |