diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2022-04-03 16:16:06 -0700 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-04-03 17:13:51 -0700 |
commit | af3751e4dd7301d1b51a6c4154eaf03b4daf2717 (patch) | |
tree | 3552e9d134755cba1006872e6b3eec63f7696647 /Userland/Utilities/clear.cpp | |
parent | 4d0317ae7a54614eff64e9b60ca6ec391dd978ac (diff) | |
download | serenity-af3751e4dd7301d1b51a6c4154eaf03b4daf2717.zip |
Utilities: Use default execpromises parameter to `pledge(..)`
Diffstat (limited to 'Userland/Utilities/clear.cpp')
-rw-r--r-- | Userland/Utilities/clear.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/clear.cpp b/Userland/Utilities/clear.cpp index e8fc9fea72..d3e2136666 100644 --- a/Userland/Utilities/clear.cpp +++ b/Userland/Utilities/clear.cpp @@ -10,7 +10,7 @@ ErrorOr<int> serenity_main(Main::Arguments) { - TRY(Core::System::pledge("stdio", nullptr)); + TRY(Core::System::pledge("stdio")); printf("\033[3J\033[H\033[2J"); fflush(stdout); return 0; |