diff options
Diffstat (limited to 'Userland/DevTools/HackStudio/LanguageServers/Cpp/main.cpp')
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageServers/Cpp/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageServers/Cpp/main.cpp b/Userland/DevTools/HackStudio/LanguageServers/Cpp/main.cpp index 5a3b0e3cff..f0de352e66 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/Cpp/main.cpp +++ b/Userland/DevTools/HackStudio/LanguageServers/Cpp/main.cpp @@ -34,12 +34,12 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) ErrorOr<int> mode_server() { Core::EventLoop event_loop; - TRY(Core::System::pledge("stdio unix recvfd rpath ", nullptr)); + TRY(Core::System::pledge("stdio unix recvfd rpath")); auto socket = TRY(Core::LocalSocket::take_over_accepted_socket_from_system_server()); IPC::new_client_connection<LanguageServers::Cpp::ClientConnection>(move(socket), 1); - TRY(Core::System::pledge("stdio recvfd rpath", nullptr)); + TRY(Core::System::pledge("stdio recvfd rpath")); TRY(Core::System::unveil("/usr/include", "r")); // unveil will be sealed later, when we know the project's root path. |