diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-11 00:25:24 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-11 00:25:24 +0200 |
commit | 0d39bd04d3f1ff4347a766e12d52a5a7c101d8ad (patch) | |
tree | 0e0cde2972ec2f4897b06942f076ca374c8c7110 /Kernel/Net/LocalSocket.cpp | |
parent | d53d9d3677703b2e8f6a57fdc512f44a178ddee7 (diff) | |
download | serenity-0d39bd04d3f1ff4347a766e12d52a5a7c101d8ad.zip |
Kernel: Rename VFS => VirtualFileSystem
Diffstat (limited to 'Kernel/Net/LocalSocket.cpp')
-rw-r--r-- | Kernel/Net/LocalSocket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Net/LocalSocket.cpp b/Kernel/Net/LocalSocket.cpp index c8674325f7..5d25631c8f 100644 --- a/Kernel/Net/LocalSocket.cpp +++ b/Kernel/Net/LocalSocket.cpp @@ -126,7 +126,7 @@ KResult LocalSocket::bind(Userspace<const sockaddr*> user_address, socklen_t add mode_t mode = S_IFSOCK | (m_prebind_mode & 0777); UidAndGid owner { m_prebind_uid, m_prebind_gid }; - auto result = VFS::the().open(path, O_CREAT | O_EXCL | O_NOFOLLOW_NOERROR, mode, Process::current()->current_directory(), owner); + auto result = VirtualFileSystem::the().open(path, O_CREAT | O_EXCL | O_NOFOLLOW_NOERROR, mode, Process::current()->current_directory(), owner); if (result.is_error()) { if (result.error() == -EEXIST) return EADDRINUSE; @@ -168,7 +168,7 @@ KResult LocalSocket::connect(FileDescription& description, Userspace<const socka dbgln_if(LOCAL_SOCKET_DEBUG, "LocalSocket({}) connect({})", this, safe_address); - auto description_or_error = VFS::the().open(safe_address, O_RDWR, 0, Process::current()->current_directory()); + auto description_or_error = VirtualFileSystem::the().open(safe_address, O_RDWR, 0, Process::current()->current_directory()); if (description_or_error.is_error()) return ECONNREFUSED; |