Index: util/posix/process_util_mac.cc |
diff --git a/util/posix/process_util_mac.cc b/util/posix/process_util_mac.cc |
index 07ee60d5a6382c395d04d1c571d778a532da0873..2b80d994d11a356e24d5076e0c8bed389f8b763c 100644 |
--- a/util/posix/process_util_mac.cc |
+++ b/util/posix/process_util_mac.cc |
@@ -43,14 +43,15 @@ bool ProcessArgumentsForPID(pid_t pid, std::vector<std::string>* argv) { |
int tries = 3; |
do { |
int mib[] = {CTL_KERN, KERN_PROCARGS2, pid}; |
- int rv = sysctl(mib, arraysize(mib), NULL, &args_size_estimate, NULL, 0); |
+ int rv = |
+ sysctl(mib, arraysize(mib), nullptr, &args_size_estimate, nullptr, 0); |
if (rv != 0) { |
return false; |
} |
args_size = args_size_estimate + 1; |
args.resize(args_size); |
- rv = sysctl(mib, arraysize(mib), &args[0], &args_size, NULL, 0); |
+ rv = sysctl(mib, arraysize(mib), &args[0], &args_size, nullptr, 0); |
if (rv != 0) { |
return false; |
} |