summaryrefslogtreecommitdiff
path: root/Userland/Utilities/ps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/ps.cpp')
-rw-r--r--Userland/Utilities/ps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/ps.cpp b/Userland/Utilities/ps.cpp
index bb214a6bee..73eca9db5b 100644
--- a/Userland/Utilities/ps.cpp
+++ b/Userland/Utilities/ps.cpp
@@ -13,10 +13,10 @@
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
- TRY(Core::System::pledge("stdio rpath tty", nullptr));
+ TRY(Core::System::pledge("stdio rpath tty"));
String this_tty = ttyname(STDIN_FILENO);
- TRY(Core::System::pledge("stdio rpath", nullptr));
+ TRY(Core::System::pledge("stdio rpath"));
TRY(Core::System::unveil("/proc/all", "r"));
TRY(Core::System::unveil("/etc/passwd", "r"));
TRY(Core::System::unveil(nullptr, nullptr));