diff --git a/Userland/Services/EchoServer/main.cpp b/Userland/Services/EchoServer/main.cpp index 50eb7fa9487..7bd22eadc69 100644 --- a/Userland/Services/EchoServer/main.cpp +++ b/Userland/Services/EchoServer/main.cpp @@ -15,7 +15,7 @@ ErrorOr serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio unix inet id accept", nullptr)); + TRY(Core::System::pledge("stdio unix inet id accept")); TRY(Core::System::unveil(nullptr, nullptr)); int port = 7; diff --git a/Userland/Services/SpiceAgent/main.cpp b/Userland/Services/SpiceAgent/main.cpp index 8299db60147..95d686507e9 100644 --- a/Userland/Services/SpiceAgent/main.cpp +++ b/Userland/Services/SpiceAgent/main.cpp @@ -16,7 +16,7 @@ ErrorOr serenity_main(Main::Arguments) { Core::EventLoop loop; - TRY(Core::System::pledge("unix rpath wpath stdio sendfd recvfd", nullptr)); + TRY(Core::System::pledge("unix rpath wpath stdio sendfd recvfd")); TRY(Core::System::unveil(SPICE_DEVICE, "rw")); TRY(Core::System::unveil("/tmp/portal/clipboard", "rw")); TRY(Core::System::unveil(nullptr, nullptr));