summaryrefslogtreecommitdiff
path: root/Userland/Applications/SoundPlayer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/SoundPlayer/main.cpp')
-rw-r--r--Userland/Applications/SoundPlayer/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/SoundPlayer/main.cpp b/Userland/Applications/SoundPlayer/main.cpp
index 47dbd555c8..675568ee32 100644
--- a/Userland/Applications/SoundPlayer/main.cpp
+++ b/Userland/Applications/SoundPlayer/main.cpp
@@ -37,14 +37,14 @@
int main(int argc, char** argv)
{
- if (pledge("stdio shared_buffer accept rpath thread unix cpath fattr", nullptr) < 0) {
+ if (pledge("stdio sendfd shared_buffer accept rpath thread unix cpath fattr", nullptr) < 0) {
perror("pledge");
return 1;
}
auto app = GUI::Application::construct(argc, argv);
- if (pledge("stdio shared_buffer accept rpath thread unix", nullptr) < 0) {
+ if (pledge("stdio sendfd shared_buffer accept rpath thread unix", nullptr) < 0) {
perror("pledge");
return 1;
}
@@ -52,7 +52,7 @@ int main(int argc, char** argv)
auto audio_client = Audio::ClientConnection::construct();
audio_client->handshake();
- if (pledge("stdio shared_buffer accept rpath thread", nullptr) < 0) {
+ if (pledge("stdio sendfd shared_buffer accept rpath thread", nullptr) < 0) {
perror("pledge");
return 1;
}