mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 07:54:58 +00:00
Utilities: Use default execpromises parameter to pledge(..)
This commit is contained in:
parent
4d0317ae7a
commit
af3751e4dd
18 changed files with 21 additions and 21 deletions
|
@ -34,7 +34,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
sa.sa_handler = handle_sigint;
|
||||
sigaction(SIGINT, &sa, nullptr);
|
||||
|
||||
TRY(Core::System::pledge("stdio sigaction", nullptr));
|
||||
TRY(Core::System::pledge("stdio sigaction"));
|
||||
|
||||
double whole_seconds = static_cast<time_t>(secs);
|
||||
double fraction = secs - whole_seconds;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue