diff options
| author | Mikolaj Golub <trociny@FreeBSD.org> | 2013-04-20 07:54:07 +0000 |
|---|---|---|
| committer | Mikolaj Golub <trociny@FreeBSD.org> | 2013-04-20 07:54:07 +0000 |
| commit | 7f1d14e6e67f6c42b23d598a811cb3593302f6c4 (patch) | |
| tree | 0aef80ff5d92444d56c16b7f1f3a73a8de076b33 /lib/libprocstat/core.c | |
| parent | eee7107cfbd918a69ced1f47981e3087703c897e (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 1ada45927de3..afaa76c000fb 100644 --- a/lib/libprocstat/core.c +++ b/lib/libprocstat/core.c @@ -167,6 +167,10 @@ procstat_core_get(struct procstat_core *core, enum psc_type type, void *buf, n_type = NT_PROCSTAT_VMMAP; structsize = sizeof(struct kinfo_vmentry); break; + case PSC_TYPE_GROUPS: + n_type = NT_PROCSTAT_GROUPS; + structsize = sizeof(gid_t); + break; default: warnx("unknown core stat type: %d", type); return (NULL); |
