diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2022-04-03 16:13:41 -0700 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-04-03 17:13:51 -0700 |
commit | 9cfd520bb85718edeafb48dd301e2a1f887661a8 (patch) | |
tree | 1c406bc2926f2c5d9f15e38f74c7d471cd2200aa /Userland/Applications/Calendar/main.cpp | |
parent | 7c0495cbac7fe6bee0d3a93088ddcf56fad352ad (diff) | |
download | serenity-9cfd520bb85718edeafb48dd301e2a1f887661a8.zip |
Applications: Use default execpromises parameter to `pledge(..)`
Diffstat (limited to 'Userland/Applications/Calendar/main.cpp')
-rw-r--r-- | Userland/Applications/Calendar/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Calendar/main.cpp b/Userland/Applications/Calendar/main.cpp index 57aceb613e..7845517f2f 100644 --- a/Userland/Applications/Calendar/main.cpp +++ b/Userland/Applications/Calendar/main.cpp @@ -22,11 +22,11 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio recvfd sendfd rpath unix", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd rpath unix")); auto app = TRY(GUI::Application::try_create(arguments)); - TRY(Core::System::pledge("stdio recvfd sendfd rpath", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd rpath")); TRY(Core::System::unveil("/etc/timezone", "r")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); |