summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/File.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCore/File.h')
-rw-r--r--Userland/Libraries/LibCore/File.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/File.h b/Userland/Libraries/LibCore/File.h
index 58989eef74..1b66536b63 100644
--- a/Userland/Libraries/LibCore/File.h
+++ b/Userland/Libraries/LibCore/File.h
@@ -70,7 +70,7 @@ public:
static String real_path_for(String const& filename);
static String read_link(String const& link_path);
- static Result<void, OSError> link_file(String const& dst_path, String const& src_path);
+ static ErrorOr<void> link_file(String const& dst_path, String const& src_path);
struct RemoveError {
String file;