summaryrefslogtreecommitdiff
path: root/Userland/Utilities/nproc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/nproc.cpp')
-rw-r--r--Userland/Utilities/nproc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/nproc.cpp b/Userland/Utilities/nproc.cpp
index 6358078b22..e1f9f9a5fe 100644
--- a/Userland/Utilities/nproc.cpp
+++ b/Userland/Utilities/nproc.cpp
@@ -11,7 +11,7 @@
ErrorOr<int> serenity_main(Main::Arguments)
{
- TRY(Core::System::pledge("stdio rpath", nullptr));
+ TRY(Core::System::pledge("stdio rpath"));
auto file = TRY(Core::File::open("/proc/cpuinfo", Core::OpenMode::ReadOnly));
auto buffer = file->read_all();