diff options
-rw-r--r-- | base/process_util_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/process_util_mac.mm b/base/process_util_mac.mm index 98714c8..f489bd0 100644 --- a/base/process_util_mac.mm +++ b/base/process_util_mac.mm @@ -207,7 +207,7 @@ bool NamedProcessIterator::CheckForNextProcess() { // Check the name if (executable_name_utf8 == exec_name) { entry_.pid = kinfo->kp_proc.p_pid; - entry_.ppid = kinfo->kp_proc.p_oppid; + entry_.ppid = kinfo->kp_eproc.e_ppid; base::strlcpy(entry_.szExeFile, exec_name.c_str(), sizeof(entry_.szExeFile)); // Start w/ the next entry next time through |