diff options
Diffstat (limited to 'Userland/Utilities/touch.cpp')
-rw-r--r-- | Userland/Utilities/touch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/touch.cpp b/Userland/Utilities/touch.cpp index 3b8691fcbc..41ff23113a 100644 --- a/Userland/Utilities/touch.cpp +++ b/Userland/Utilities/touch.cpp @@ -9,7 +9,7 @@ #include <AK/GenericLexer.h> #include <AK/Time.h> #include <LibCore/ArgsParser.h> -#include <LibCore/File.h> +#include <LibCore/DeprecatedFile.h> #include <LibCore/System.h> #include <LibMain/Main.h> #include <LibTimeZone/TimeZone.h> @@ -239,7 +239,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) atime.tv_nsec = UTIME_OMIT; for (auto path : paths) { - if (Core::File::exists(path)) { + if (Core::DeprecatedFile::exists(path)) { if (utimensat(AT_FDCWD, path.characters(), times, 0) == -1) err("failed to touch '{}': {}", path, strerror(errno)); } else if (!no_create_file) { |