diff options
Diffstat (limited to 'Kernel/Syscalls/link.cpp')
-rw-r--r-- | Kernel/Syscalls/link.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/link.cpp b/Kernel/Syscalls/link.cpp index 49b05c3c17..13f8dc07d9 100644 --- a/Kernel/Syscalls/link.cpp +++ b/Kernel/Syscalls/link.cpp @@ -37,7 +37,7 @@ KResultOr<int> Process::sys$symlink(Userspace<const Syscall::SC_symlink_params*> auto linkpath = get_syscall_path_argument(params.linkpath); if (linkpath.is_error()) return linkpath.error(); - return VFS::the().symlink(target.value(), linkpath.value(), current_directory()); + return VFS::the().symlink(target.value()->view(), linkpath.value()->view(), current_directory()); } } |