summaryrefslogtreecommitdiff
path: root/Userland/Applications/Calendar/main.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2022-04-03 16:13:41 -0700
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-04-03 17:13:51 -0700
commit9cfd520bb85718edeafb48dd301e2a1f887661a8 (patch)
tree1c406bc2926f2c5d9f15e38f74c7d471cd2200aa /Userland/Applications/Calendar/main.cpp
parent7c0495cbac7fe6bee0d3a93088ddcf56fad352ad (diff)
downloadserenity-9cfd520bb85718edeafb48dd301e2a1f887661a8.zip
Applications: Use default execpromises parameter to `pledge(..)`
Diffstat (limited to 'Userland/Applications/Calendar/main.cpp')
-rw-r--r--Userland/Applications/Calendar/main.cpp4
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));