summaryrefslogtreecommitdiff
path: root/Userland/Utilities/comm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/comm.cpp')
-rw-r--r--Userland/Utilities/comm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/comm.cpp b/Userland/Utilities/comm.cpp
index 5a49cfded9..31c23f23a8 100644
--- a/Userland/Utilities/comm.cpp
+++ b/Userland/Utilities/comm.cpp
@@ -6,9 +6,9 @@
*/
#include <LibCore/ArgsParser.h>
-#include <LibCore/DeprecatedFile.h>
#include <LibCore/File.h>
#include <LibCore/System.h>
+#include <LibFileSystem/FileSystem.h>
#include <LibMain/Main.h>
#include <string.h>
#include <strings.h>
@@ -68,7 +68,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
return false;
}
- if (path != "-" && Core::DeprecatedFile::is_directory(path)) {
+ if (path != "-" && FileSystem::is_directory(path)) {
warnln("Failed to open file{} '{}': is a directory", file_number, path);
return false;
}