diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2016-07-18 15:14:23 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2016-07-18 15:14:23 +0000 |
| commit | ccb83afd8192c1b5070aa7b4e888223bfd08b00a (patch) | |
| tree | 6028700d122bfd12d481de8ead8137e745a83231 /usr.bin | |
| parent | fc4f075a1ace0a14602ee2bd3f0e808ca194260e (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/gcore/elfcore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/gcore/elfcore.c b/usr.bin/gcore/elfcore.c index 6493688f9a11c..6f617eee17796 100644 --- a/usr.bin/gcore/elfcore.c +++ b/usr.bin/gcore/elfcore.c @@ -586,6 +586,7 @@ elf_note_prpsinfo(void *arg, size_t *sizep) } else strlcpy(psinfo->pr_psargs, kip.ki_comm, sizeof(psinfo->pr_psargs)); + psinfo->pr_pid = pid; *sizep = sizeof(*psinfo); return (psinfo); |
