summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/chdir.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-11 00:25:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-11 00:25:24 +0200
commit0d39bd04d3f1ff4347a766e12d52a5a7c101d8ad (patch)
tree0e0cde2972ec2f4897b06942f076ca374c8c7110 /Kernel/Syscalls/chdir.cpp
parentd53d9d3677703b2e8f6a57fdc512f44a178ddee7 (diff)
downloadserenity-0d39bd04d3f1ff4347a766e12d52a5a7c101d8ad.zip
Kernel: Rename VFS => VirtualFileSystem
Diffstat (limited to 'Kernel/Syscalls/chdir.cpp')
-rw-r--r--Kernel/Syscalls/chdir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/chdir.cpp b/Kernel/Syscalls/chdir.cpp
index bb016f9374..995d098890 100644
--- a/Kernel/Syscalls/chdir.cpp
+++ b/Kernel/Syscalls/chdir.cpp
@@ -17,7 +17,7 @@ KResultOr<FlatPtr> Process::sys$chdir(Userspace<const char*> user_path, size_t p
auto path = get_syscall_path_argument(user_path, path_length);
if (path.is_error())
return path.error();
- auto directory_or_error = VFS::the().open_directory(path.value()->view(), current_directory());
+ auto directory_or_error = VirtualFileSystem::the().open_directory(path.value()->view(), current_directory());
if (directory_or_error.is_error())
return directory_or_error.error();
m_cwd = *directory_or_error.value();