summaryrefslogtreecommitdiff
path: root/Userland/Demos/Screensaver/Screensaver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Demos/Screensaver/Screensaver.cpp')
-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 026d5a12cf..889106f8d7 100644
--- a/Userland/Demos/Screensaver/Screensaver.cpp
+++ b/Userland/Demos/Screensaver/Screensaver.cpp
@@ -124,14 +124,14 @@ void Screensaver::draw()
int main(int argc, char** argv)
{
- if (pledge("stdio rpath wpath cpath sendfd shared_buffer cpath unix fattr", nullptr) < 0) {
+ if (pledge("stdio rpath wpath cpath recvfd sendfd cpath unix fattr", nullptr) < 0) {
perror("pledge");
return 1;
}
auto app = GUI::Application::construct(argc, argv);
- if (pledge("stdio rpath sendfd shared_buffer", nullptr) < 0) {
+ if (pledge("stdio rpath recvfd sendfd", nullptr) < 0) {
perror("pledge");
return 1;
}