diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-27 15:31:26 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-27 15:31:26 +0100 |
commit | 60d0a48be5e3ce692e4ecd57df475c9245e1f84a (patch) | |
tree | 395a0d70b9dc980095e6f9cdf013e8b58534c7af /Kernel/VirtualFileSystem.h | |
parent | 5b27f11b97184d0395d077100e96fdca6bfb333f (diff) | |
download | serenity-60d0a48be5e3ce692e4ecd57df475c9245e1f84a.zip |
Kernel: Use KResult in link().
Diffstat (limited to 'Kernel/VirtualFileSystem.h')
-rw-r--r-- | Kernel/VirtualFileSystem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VirtualFileSystem.h b/Kernel/VirtualFileSystem.h index 1345217824..38b8593226 100644 --- a/Kernel/VirtualFileSystem.h +++ b/Kernel/VirtualFileSystem.h @@ -66,7 +66,7 @@ public: RetainPtr<FileDescriptor> open(const String& path, int& error, int options, mode_t mode, Inode& base); RetainPtr<FileDescriptor> create(const String& path, int& error, int options, mode_t mode, Inode& base); KResult mkdir(const String& path, mode_t mode, Inode& base); - bool link(const String& old_path, const String& new_path, Inode& base, int& error); + KResult link(const String& old_path, const String& new_path, Inode& base); KResult unlink(const String& path, Inode& base); KResult rmdir(const String& path, Inode& base); KResult chmod(const String& path, mode_t, Inode& base); |