summaryrefslogtreecommitdiff
path: root/Userland/Demos/Screensaver
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Demos/Screensaver')
-rw-r--r--Userland/Demos/Screensaver/Screensaver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Demos/Screensaver/Screensaver.cpp b/Userland/Demos/Screensaver/Screensaver.cpp
index 87238803a8..2be7c58ca9 100644
--- a/Userland/Demos/Screensaver/Screensaver.cpp
+++ b/Userland/Demos/Screensaver/Screensaver.cpp
@@ -114,11 +114,11 @@ void Screensaver::draw()
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
- TRY(Core::System::pledge("stdio rpath recvfd sendfd unix", nullptr));
+ TRY(Core::System::pledge("stdio rpath recvfd sendfd unix"));
auto app = TRY(GUI::Application::try_create(arguments));
- TRY(Core::System::pledge("stdio rpath recvfd sendfd", nullptr));
+ TRY(Core::System::pledge("stdio rpath recvfd sendfd"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil(nullptr, nullptr));