summaryrefslogtreecommitdiff
path: root/Userland/Utilities/pgrep.cpp
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-10-14 21:56:19 +0300
committerAndrew Kaster <andrewdkaster@gmail.com>2022-10-25 15:33:34 -0600
commit9d1ba0e6adcadc27d3a70237686fb573b27e10a3 (patch)
tree4f190d299fce0e0b00f4b4ce1dead72566bb023d /Userland/Utilities/pgrep.cpp
parent35c98a031a17a81ab11060b1856ecd385ce7f7bc (diff)
downloadserenity-9d1ba0e6adcadc27d3a70237686fb573b27e10a3.zip
Utilities: Use new global variables at /sys/kernel/ directory
Diffstat (limited to 'Userland/Utilities/pgrep.cpp')
-rw-r--r--Userland/Utilities/pgrep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/pgrep.cpp b/Userland/Utilities/pgrep.cpp
index a35e278424..d7929c91e5 100644
--- a/Userland/Utilities/pgrep.cpp
+++ b/Userland/Utilities/pgrep.cpp
@@ -15,7 +15,7 @@
ErrorOr<int> serenity_main(Main::Arguments args)
{
TRY(Core::System::pledge("stdio rpath"));
- TRY(Core::System::unveil("/proc/all", "r"));
+ TRY(Core::System::unveil("/sys/kernel/processes", "r"));
TRY(Core::System::unveil("/etc/passwd", "r"));
TRY(Core::System::unveil(nullptr, nullptr));