diff options
| author | Mikolaj Golub <trociny@FreeBSD.org> | 2013-04-20 08:10:47 +0000 |
|---|---|---|
| committer | Mikolaj Golub <trociny@FreeBSD.org> | 2013-04-20 08:10:47 +0000 |
| commit | 2ff020d3c3de8d32dc8c413d07e4b1d5fa6ee766 (patch) | |
| tree | f458748af9d8de777c27228b3593052a1ce4ebcf /lib/libprocstat/core.c | |
| parent | 729e63c34b181e45106b602f35fae6502df17537 (diff) | |
Notes
Diffstat (limited to 'lib/libprocstat/core.c')
| -rw-r--r-- | lib/libprocstat/core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libprocstat/core.c b/lib/libprocstat/core.c index 72dee88604d8..b83cdfda4cca 100644 --- a/lib/libprocstat/core.c +++ b/lib/libprocstat/core.c @@ -195,6 +195,10 @@ procstat_core_get(struct procstat_core *core, enum psc_type type, void *buf, n_type = NT_PROCSTAT_PSSTRINGS; structsize = sizeof(vm_offset_t); break; + case PSC_TYPE_AUXV: + n_type = NT_PROCSTAT_AUXV; + structsize = sizeof(Elf_Auxinfo); + break; default: warnx("unknown core stat type: %d", type); return (NULL); |
