Skip to content

Commit 18c559b

Browse files
ADKasterawesomekling
authored andcommitted
SoundPlayer: Pledge proc so that we can actually open audio files
1 parent a5dfd5e commit 18c559b

File tree

1 file changed

+2
-2
lines changed
  • Userland/Applications/SoundPlayer

1 file changed

+2
-2
lines changed

Userland/Applications/SoundPlayer/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626

2727
ErrorOr<int> serenity_main(Main::Arguments arguments)
2828
{
29-
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread unix"));
29+
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread unix proc"));
3030

3131
auto app = TRY(GUI::Application::try_create(arguments));
3232
auto audio_client = TRY(Audio::ConnectionToServer::try_create());
3333
auto decoder_client = TRY(ImageDecoderClient::Client::try_create());
3434

35-
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread"));
35+
TRY(Core::System::pledge("stdio recvfd sendfd rpath thread proc"));
3636

3737
auto app_icon = GUI::Icon::default_icon("app-sound-player"sv);
3838

0 commit comments

Comments
 (0)