summaryrefslogtreecommitdiff
path: root/Userland/Utilities/shot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/shot.cpp')
-rw-r--r--Userland/Utilities/shot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/shot.cpp b/Userland/Utilities/shot.cpp
index 624fde7921..3ecbfff3cb 100644
--- a/Userland/Utilities/shot.cpp
+++ b/Userland/Utilities/shot.cpp
@@ -11,7 +11,7 @@
#include <AK/URL.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/DateTime.h>
-#include <LibCore/File.h>
+#include <LibCore/DeprecatedFile.h>
#include <LibCore/Process.h>
#include <LibCore/Stream.h>
#include <LibGUI/Application.h>
@@ -175,7 +175,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
bool printed_hyperlink = false;
if (isatty(STDOUT_FILENO)) {
- auto full_path = Core::File::real_path_for(output_path);
+ auto full_path = Core::DeprecatedFile::real_path_for(output_path);
if (!full_path.is_null()) {
char hostname[HOST_NAME_MAX];
VERIFY(gethostname(hostname, sizeof(hostname)) == 0);